I did some research and don't see any restriction on nested pre tags, yet Soup includes <pre> in "NonNestableBlockTagsForHtml". This causes the following to be parsed as two sibling <pre> tags: <pre> Hi there <pre> This act shall take effect immediately. </pre> </pre> Moving <pre> from NonNestableBlockTagsForHtml to NestableBlockTagsForHtml seems to be The Right Thing To Do. Any objection (I'm certainly not an HTML expert). If not, I'll commit to my GH fork and feel free to merge back to StHub or wherever. ----- Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html
Bump :) Sean P. DeNigris wrote
I did some research and don't see any restriction on nested pre tags, yet Soup includes <pre> in "NonNestableBlockTagsForHtml". This causes the following to be parsed as two sibling <pre> tags: <pre> Hi there
<pre> This act shall take effect immediately.
</pre> </pre> Moving <pre> from NonNestableBlockTagsForHtml to NestableBlockTagsForHtml seems to be The Right Thing To Do. Any objection (I'm certainly not an HTML expert). If not, I'll commit to my GH fork and feel free to merge back to StHub or wherever.
----- Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html
----- Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html
participants (1)
-
Sean P. DeNigris