Download packages/mathml2omml/src/mathml/mspace.js from muthuk1/OpenMAIC-React: direct link, hf CLI and curl.
- Browser
- Download file 424 Bytes
-
https://huggingface.co/muthuk1/OpenMAIC-React/resolve/main/packages/mathml2omml/src/mathml/mspace.js
- Command line
-
hf download hf://muthuk1/OpenMAIC-React/packages/mathml2omml/src/mathml/mspace.js
-
curl -L -o mspace.js https://huggingface.co/muthuk1/OpenMAIC-React/resolve/main/packages/mathml2omml/src/mathml/mspace.js
424 Bytes
| export function mspace(element, targetParent, previousSibling, nextSibling, ancestors) { | |
| targetParent.children.push({ | |
| name: 'm:r', | |
| type: 'tag', | |
| attribs: {}, | |
| children: [ | |
| { | |
| name: 'm:t', | |
| type: 'tag', | |
| attribs: { | |
| 'xml:space': 'preserve' | |
| }, | |
| children: [ | |
| { | |
| type: 'text', | |
| data: ' ' | |
| } | |
| ] | |
| } | |
| ] | |
| }) | |
| } | |