If Page A has HTML surrounding some text, and it posts a trackback to Page B, then Page B displays the URL of Page AND a teaser to the text on Page A. Now, most pages on the web are HTML, and the teasers actually show the HTML escaped.

So my teasers all have escaped HTML in them. Is this intentional? I'd think that trackback teasers shouldn't contain any HTML at all from the original site.

CommentFileSizeAuthor
#3 trackback.module_1.diff1.85 KBankur

Comments

smithmb’s picture

Some more information -- how to duplicate this bug:

If you post a node with some HTML formatting, and put the URL of another node on your site in the trackback box, and then visit the "another node on your site," that node will show the HTML formatting untouched by the browser (ie it's using escapes like <).

Hope this clarifies it! Other than that, trackback support is amazing.

ankur’s picture

Assigned: Unassigned » ankur
ankur’s picture

StatusFileSize
new1.85 KB

Will commit this patch after approval from bossman. I personally feel that the operation of stripping tags from a trackback should be done on the receiving end, though I'm unaware about whether the trackback specification demands that the sending party strip the tags.

ankur’s picture

Component: Receiving » Sending

Committed to HEAD, DRUPAL-4-6

-Ankur

smithmb’s picture

Doesn't the stripping of tags not happen at all here? After all, it is a trackback from the site to the same site, and no tags are stripped.

Is it safe to drop the trackback module from CVS into the 4.6 stable?

Anonymous’s picture