Focus3D / crunchy

Automatically exported from code.google.com/p/crunchy
0 stars 0 forks source link

markup inside pre elements #37

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create a pre element with something like <pre>&gt;&gt;&gt;
1<br>1<br>&gt;&gt;&gt; 56 * 347<br>19432</pre>

What is the expected output? What do you see instead?
This displays incorrectly: because the text attribute of the ElementTree
only contains the first block of text in the element, the rest of the text
is in the tail elements of the br elements.

We need to flatten the contents pre elements intelligently - and make sure
that we handle all cases sensibly, not just br elements.

Original issue reported on code.google.com by johannes...@gmail.com on 22 Mar 2007 at 6:07

GoogleCodeExporter commented 8 years ago
This should also be fixed in the next intermediate release...

Original comment by johannes...@gmail.com on 22 Mar 2007 at 6:08

GoogleCodeExporter commented 8 years ago
I have started the work on this; it should be ready for the next release.

Original comment by andre.ro...@gmail.com on 10 Apr 2007 at 10:06

GoogleCodeExporter commented 8 years ago
Done in svn.

Original comment by andre.ro...@gmail.com on 12 Apr 2007 at 1:13

GoogleCodeExporter commented 8 years ago
I was too optimistic; the problem has resurfaced in a different way; recorded in
issue 39 so I will leave the status of this one as being "fixed".

Original comment by andre.ro...@gmail.com on 13 Apr 2007 at 12:48