Page MenuHomePhabricator

<math> tags inside <pre> tags should be rendered without parsing
Closed, DeclinedPublic

Description

Author: maoz.ovadia

Description:
The code
<pre>
text
<tag></tag>

<table></table> <math></math> </pre> should output the text text <tag></tag> <table></table>

<math></math>

Instead, it outputs

text
<tag></tag>

<table></table> Failed to parse (PNG conversion failed; check for correct installation of latex, dvips, gs, and convert): -------------------------- **Version**: 1.5.x **Severity**: normal **OS**: Linux

Details

Reference
bz5305

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:10 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz5305.
bzimport added a subscriber: Unknown Object (MLST).

Pre is not meant to do the same as <nowiki>- if you wrap your pre in a nowiki
tag you get the result above.

<pre> does work as <nowiki> insofar as not parsing other markup inside, at least
supposedly.

Can't reproduce, likely fixed in the years since this bug was filed.