Soup Bug? Pre Tags Should Be Nestable

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Soup Bug? Pre Tags Should Be Nestable

Sean P. DeNigris
Administrator
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