Page MenuHomePhabricator

Anything but simple text inside \hbox and \mbox cannot be lex'ed
Closed, DeclinedPublic

Description

Author: vd

Description:
In the current MediaWiki the markup commands inside \hbox (and \mbox as well)
are not recognised.

For example, all of the following equations:

<math>\mbox{{}}</math>
<math>\mbox{\bf a}</math>
<math>\mbox{$A$}</math>
<math>\hbox{\hbox{A}}</math>

fail to render, producing the message "Failed to parse (lexing error)".


Version: unspecified
Severity: minor

Details

Commits
Unknown Object (Diffusion Commit)
Reference
bz615

Event Timeline

bzimport raised the priority of this task from to Lowest.
bzimport set Reference to bz615.
bzimport added a subscriber: Unknown Object (MLST).
bzimport created this task.Oct 1 2004, 8:26 AM
  • Bug 4355 has been marked as a duplicate of this bug. ***

taw wrote:

This doesn't work for security reasons. One could write anything there,
including something nasty. Because:

  • we don't know how to check what's nasty and what isn't
  • complex things in \mbox{}es are useful very rarely, because <math> is supposed

to be just for math
it's not considered a major issue.

epriestley changed the task status from Declined to Resolved by committing Unknown Object (Diffusion Commit).Mar 4 2015, 8:20 AM
epriestley added a commit: Unknown Object (Diffusion Commit).
Aklapper changed the task status from Resolved to Declined.Mar 4 2015, 11:39 AM
Aklapper claimed this task.