« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/language.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/language.js')
-rw-r--r--src/data/language.js4
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;