mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-30 10:36:35 +02:00
12 lines
326 B
JavaScript
12 lines
326 B
JavaScript
|
'use strict';
|
||
|
Object.defineProperty(exports, '__esModule', { value: true });
|
||
|
const Entities = require('html-entities').AllHtmlEntities;
|
||
|
const htmlentities = new Entities().encode;
|
||
|
class JoplinUtils {
|
||
|
escapeHtml(text) {
|
||
|
return htmlentities(text);
|
||
|
}
|
||
|
}
|
||
|
exports.default = JoplinUtils;
|
||
|
// # sourceMappingURL=JoplinUtils.js.map
|