This commit is contained in:
counterweight 2026-05-14 10:56:04 +02:00
parent bc92231240
commit b8225c639e
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
11904 changed files with 1472749 additions and 133 deletions

View file

@ -0,0 +1,17 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MmlCssHighlighter = void 0;
const css_highlighter_js_1 = require("./css_highlighter.js");
class MmlCssHighlighter extends css_highlighter_js_1.CssHighlighter {
constructor() {
super();
this.mactionName = 'maction';
}
getMactionNodes(node) {
return Array.from(node.getElementsByTagName(this.mactionName));
}
isMactionNode(node) {
return node.tagName === this.mactionName;
}
}
exports.MmlCssHighlighter = MmlCssHighlighter;