Ticket #123 (new defect)

Opened 9 months ago

Last modified 9 months ago

quoted strings without word= prefix inside a div tag cause the div to be output as text

Reported by: epo001 Owned by: why
Priority: major Milestone:
Component: ext/hpricot_scan Version:
Keywords: Cc:

Description

A web page contained something like this

<div style="font:foo;" "odd:stuff">actual text</div>

despite either of :fixup_tags and :xhtml_restrict my script presented the following as text

<div style="font:foo;" "odd:stuff">actual text

and the div was not recognised as such, if I deleted the "odd:stuff" then it behaved as expected, i,e, returning actual text as the text.

Change History

Changed 9 months ago by epo001

  • summary changed from quoted strings with word= prefix inside a div tag cause the div to be output as text to quoted strings without word= prefix inside a div tag cause the div to be output as text
Note: See TracTickets for help on using tickets.