diff --git a/lib/alphabetical-list-items.js b/lib/alphabetical-list-items.js index 661d1e0..f56de85 100644 --- a/lib/alphabetical-list-items.js +++ b/lib/alphabetical-list-items.js @@ -3,8 +3,8 @@ const visit = require('unist-util-visit'); const toString = require('mdast-util-to-string'); function normalize(text) { - const removeAtBeginning = /^([-._(《"'])*/; - const removeInside = /[,:]/; + const removeAtBeginning = /^([-._(《"'\u200e\u200f])*/; + const removeInside = /[,:\u200e\u200f]/; const replaceWithSpace = /-/; return text.toLowerCase() .trim()