1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-30 10:36:35 +02:00
joplin/ReactNativeClient/lib/services/plugins/api/JoplinUtils.js

12 lines
326 B
JavaScript
Raw Normal View History

'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