From bc1ac5e6e89d64136ba5c8bbaf8cee22e6d1d5aa Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 1 Mar 2024 07:51:40 -0400 Subject: data: complain about normal in content strings Using allows bypassing this where it's still necessary (mainly because we're using a non-link tag as the content for the link, as in the changelog, and don't support properly nested nodes just yet). --- src/data/validators.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/data/validators.js b/src/data/validators.js index 4fc2ac65..b27dd68f 100644 --- a/src/data/validators.js +++ b/src/data/validators.js @@ -420,6 +420,14 @@ const illegalContentSpec = [ {illegal: '\u2005', annotation: `four-per-em space`, ...illegalVisibleSpace}, {illegal: '\u205f', annotation: `medium mathematical space`, ...illegalVisibleSpace}, {illegal: '\xa0', annotation: `non-breaking space`, ...illegalVisibleSpace}, + + { + action: 'replace', + illegal: '