[wp-trac] [WordPress Trac] #13340: wpautop breaks inline MathMl

WordPress Trac noreply at wordpress.org
Thu Feb 23 12:58:42 UTC 2017


#13340: wpautop breaks inline MathMl
----------------------------+----------------------
 Reporter:  nicholaswilson  |       Owner:
     Type:  enhancement     |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Formatting      |     Version:  2.9.2
 Severity:  normal          |  Resolution:  wontfix
 Keywords:                  |     Focuses:
----------------------------+----------------------

Comment (by hughie.molloy):

 <math> tag has been a support element in HTML5 since 2011.
 https://www.w3.org/wiki/HTML/Elements/math
 Please consider reopening this as it makes a huge difference to inline
 formatting.

 Purposed:
 [[Image(http://i.imgur.com/HwB7yvx.png)]]

 Current:
 [[Image(http://i.imgur.com/18Xtcj2.png)]]

 Plain Text:
 <h3>Quantum quandary</h3>At first sight, magnetic monopoles seem to be
 incompatible with quantum mechanics. That is because in quantum mechanics,
 electromagnetic fields have to be described in terms of a scalar potential
 <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>ϕ</mi></math> and
 vector potential <math xmlns="http://www.w3.org/1998/Math/MathML"><mi
 mathvariant="bold">A</mi></math>. The magnetic field is given by the curl
 of the vector potential, <math
 xmlns="http://www.w3.org/1998/Math/MathML"><mi
 mathvariant="bold">B</mi><mo>=</mo><mi
 mathvariant="bold">∇</mi><mo>×</mo><mi mathvariant="bold">A</mi></math>,
 and it follows from elementary vector calculus that the field must then be
 sourceless, <math xmlns="http://www.w3.org/1998/Math/MathML"><mi
 mathvariant="bold">∇</mi><mo>.</mo><mi
 mathvariant="bold">B</mi><mo>=</mo><mn>0</mn></math>. In other words,
 magnetic field lines cannot end. So how can there be magnetic monopoles?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/13340#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list