Spaces:
No application file
No application file
| export function msqrt(element, targetParent, previousSibling, nextSibling, ancestors) { | |
| const targetElement = { | |
| name: 'm:e', | |
| type: 'tag', | |
| attribs: {}, | |
| children: [] | |
| } | |
| targetParent.children.push({ | |
| name: 'm:rad', | |
| type: 'tag', | |
| attribs: {}, | |
| children: [ | |
| { | |
| name: 'm:radPr', | |
| type: 'tag', | |
| attribs: {}, | |
| children: [ | |
| { | |
| name: 'm:degHide', | |
| type: 'tag', | |
| attribs: { | |
| 'm:val': 'on' | |
| }, | |
| children: [] | |
| } | |
| ] | |
| }, | |
| { | |
| name: 'm:deg', | |
| type: 'tag', | |
| attribs: {}, | |
| children: [] | |
| }, | |
| targetElement | |
| ] | |
| }) | |
| return targetElement | |
| } | |