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