sleemanj / xinha

WYSIWYG HTML Editor Component (turns <textarea> into HTML editors)
http://trac.xinha.org/
Other
13 stars 2 forks source link

Valid HTML is being swallowed by Xinha on Chrome and Firefox (Trac #1675) #1675

Closed sleemanj closed 3 years ago

sleemanj commented 8 years ago

Hello there,

in attached file you will find an HTML document. This is valid HTML 4.01 strict as for https://validator.w3.org/

Steps to reproduce the bug:

You should see that all of the content below the marker have disappeared.

From my tests this seems related to "br" alone in the markup. If you replace/wrap every first-level "br" tag with "p" tags, issue doesn't show up.

Please notice that we use Xinha to preview HTML content that has been generated externally and not by Xinha itself.

Any help would be greatly apreciated.

All the best

Antonio

Reported by guest, migrated from http://trac.xinha.org/ticket/1675

sleemanj commented 8 years ago

Attachment: xinhaTestValidatorTicketXinha.html

sleemanj commented 8 years ago

This is fixed by 1335 I believe both in FF and Chrome, it was due to #1226

sleemanj commented 8 years ago

@sleemanj commented:

The fix in 1335 was rolled back in 1338, this bug is back again now unfortunately.

See #1226

sleemanj commented 8 years ago
sleemanj commented 8 years ago

1226