« get me outta code hell

language: sanitize formatting options a lot dumber - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-07-14 17:13:33 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-07-14 17:13:55 -0300
commitfa0914c3f929fcd903f96e3fe1ee52e5c6deee0e (patch)
tree2871c416325901d3cb2ed49d6fdc061ac845359b /src/data
parent4bebe2e13a8aefac68f1e602bfcc714aa9f17059 (diff)
language: sanitize formatting options a lot dumber
This will have no unforeseen consequences.
Which is to say, one good consequence.
Diffstat (limited to 'src/data')
-rw-r--r--src/data/things/language.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data/things/language.js b/src/data/things/language.js
index 8d102a67..88e8d996 100644
--- a/src/data/things/language.js
+++ b/src/data/things/language.js
@@ -322,7 +322,7 @@ export class Language extends Thing {
           return undefined;
         }
 
-        return optionValue;
+        return this.sanitize(optionValue);
       },
     });