1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-29 22:48:10 +02:00

Use regex instead of jsdom for compability with mobile app

This commit is contained in:
Laurent Cozic
2019-07-21 00:18:51 +01:00
parent 8ff1668c8f
commit 36168a9a5d
10 changed files with 118 additions and 482 deletions

View File

@@ -1,4 +1,6 @@
const Resource = require('lib/models/Resource.js');
const Entities = require('html-entities').AllHtmlEntities;
const htmlentities = (new Entities()).encode;
const utils = {};