10 lines
204 B
JavaScript
10 lines
204 B
JavaScript
import { escapeElement } from "./escape-element";
|
|
export class XmlText {
|
|
constructor(value) {
|
|
this.value = value;
|
|
}
|
|
toString() {
|
|
return escapeElement("" + this.value);
|
|
}
|
|
}
|