wikilint 2.12.6 → 2.12.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/transclude.js +1 -1
- package/package.json +1 -1
package/dist/src/transclude.js
CHANGED
|
@@ -177,7 +177,7 @@ class TranscludeToken extends index_2.Token {
|
|
|
177
177
|
errors.push((0, lint_1.generateForChild)(childNodes[1], rect, 'invalid-invoke', 'illegal module name'));
|
|
178
178
|
}
|
|
179
179
|
else {
|
|
180
|
-
const child = childNodes[invoke ? 1 : 0], textNode = child.childNodes.find((c) => c.type === 'text' && c.data.includes('#'));
|
|
180
|
+
const child = childNodes[invoke ? 1 : 0], textNode = child.childNodes.find((c) => c.type === 'text' && (0, string_1.decodeHtml)(c.data).includes('#'));
|
|
181
181
|
if (textNode) {
|
|
182
182
|
const e = (0, lint_1.generateForChild)(child, rect, 'no-ignored', 'useless fragment');
|
|
183
183
|
e.fix = {
|