diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/data/validators.js | 8 |
1 files changed, 8 insertions, 0 deletions
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: '<a href', + annotation: `HTML-style link`, + with: '[...](...)', + withAnnotation: `markdown`, + }, ]; for (const entry of illegalContentSpec) { |