1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-21 09:38:01 +02:00
joplin/ReactNativeClient/lib/services/plugins/api/JoplinUtils.js

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