Skip to content

Commit a2f1222

Browse files
committed
Map \perp to U+27C2 rather than U+22A5 (issue mathjax/MathJax#3322)
1 parent 2e5c45b commit a2f1222

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

testsuite/tests/input/tex/Base.test.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -6532,7 +6532,9 @@ describe('Mathchar0mo', () => {
65326532
toXmlMatch(
65336533
tex2mml('\\perp'),
65346534
`<math xmlns="http://www.w3.org/1998/Math/MathML" data-latex="\\perp" display="block">
6535-
<mo data-latex="\\perp">&#x22A5;</mo>
6535+
<mrow data-mjx-texclass="ORD">
6536+
<mo data-latex="\\perp">&#x27C2;</mo>
6537+
</mrow>
65366538
</math>`
65376539
));
65386540
it('equiv', () =>

ts/input/tex/base/BaseMappings.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ new sm.CharacterMap('mathchar0mo', ParseMethods.mathchar0mo, {
261261
ll: '\u226A',
262262
sim: '\u223C',
263263
simeq: '\u2243',
264-
perp: '\u22A5',
264+
perp: '\u27C2',
265265
equiv: '\u2261',
266266
asymp: '\u224D',
267267
smile: '\u2323',

0 commit comments

Comments
 (0)