Ticket #370 (new defect)

Opened 7 weeks ago

Last modified 7 weeks ago

handling of wrong tag nesting

Reported by: volker Owned by: ralf
Priority: major Component: mwlib
Keywords: Cc:

Description (last modified by ralf) (diff)

<math>
<math>
0=1
</math>
</math>

simplified from: http://en.wikibooks.org/wiki/Linear_Algebra/Inverses

the outer math tags should be ignored. maybe this is fixed, if #63 is fixed

currently the result is:

Paragraph '': 2 children ''
             Math u'\n': 0 children ''
             u'0=1\n' ''

Change History

Changed 7 weeks ago by ralf

  • description modified (diff)

<math>

Changed 7 weeks ago by ralf

they are ignored in this case according to the result you gave. or what did you mean?

Changed 7 weeks ago by volker

the current result is an empty math tag followed by a text node with the math-stuff. thats not what we want.

instead the outer math tags should be ignored, only the inner tags should be "used".

I guess if #63 is fixed, everything is fine. because the first math tag would forcefully be closed when the second one opens.

Changed 7 weeks ago by ralf

  • description modified (diff)
Note: See TracTickets for help on using tickets.