@qtikit/mathml-to-latex
Version:
A JavaScript tool to convert mathml string to LaTeX string
16 lines (15 loc) • 480 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.MN = void 0;
var helpers_1 = require("../../../helpers");
var MN = /** @class */ (function () {
function MN(mathElement) {
this._mathmlElement = mathElement;
}
MN.prototype.convert = function () {
var normalizedValue = (0, helpers_1.normalizeWhiteSpaces)(this._mathmlElement.value);
return normalizedValue.trim();
};
return MN;
}());
exports.MN = MN;