ms → mtext tests
Serve the repo root over HTTP (for example python -m http.server 8080) and open
http://localhost:8080/ms/index.html so ES modules load.
The Before column is outside the transform scope; the After column runs
ms/ms.js via _MathTransforms.transform.
The polyfill replaces each ms with mtext whose text is
lquote + content + rquote (default quotes are U+0022).
| Description | Before (native) | After (polyfill) |
|---|---|---|
<ms>hello</ms> — default lquote / rquote
|
|
|
<ms>normal "s</ms> — inner quote escaped in markup (from acid-test)
|
|
|
<ms lquote="“" rquote="”">open/close quotes</ms>
|
|
|
<ms lquote="'" rquote="'">apostrophe</ms> — same left and right delimiter
|
|
|