diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2025-10-20 12:37:26 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2025-10-20 12:37:26 -0300 |
commit | 263d55a57013214280dd9ea6f7cfb3e044355a5e (patch) | |
tree | 3fcdc6a6e80ab99e95e3b8645b5c46bf2a745e60 /src/data/language.js | |
parent | 4fdaf77b8eb2d1fb970ba56b69985adbdea8c06b (diff) |
content: drop 'he' module
Diffstat (limited to 'src/data/language.js')
-rw-r--r-- | src/data/language.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/data/language.js b/src/data/language.js index 3edf7e51..8dc06e7e 100644 --- a/src/data/language.js +++ b/src/data/language.js @@ -4,7 +4,6 @@ import path from 'node:path'; import {fileURLToPath} from 'node:url'; import chokidar from 'chokidar'; -import he from 'he'; // It stands for "HTML Entities", apparently. Cursed. import yaml from 'js-yaml'; import {annotateError, annotateErrorWithFile, showAggregate, withAggregate} @@ -251,9 +250,6 @@ async function processLanguageSpecFromFile(file, processLanguageSpecOpts) { export function initializeLanguageObject() { const language = new Language(); - language.escapeHTML = string => - he.encode(string, {useNamedReferences: true}); - language.externalLinkSpec = externalLinkSpec; return language; |