tag like - bhsd-harry/wikiparser-node GitHub Wiki
❌ By default, this rule reports plain-text <
that looks like HTML or extension tags as errors.
Examples of incorrect code for { "tag-like": 2 }
:
<onlyinclude
<br
<nowiki
Examples of correct code for { "tag-like": 2 }
:
<text>
disallowed
option with a severity value.
Examples of incorrect code for { "tag-like": [ 0, { "disallowed": 2 } ] }
:
<a>
Examples of correct code for { "tag-like": [ 2, { "disallowed": 0 } ] }
:
<a>
invalid
option with a severity value.
Examples of incorrect code for { "tag-like": [ 0, { "invalid": 2 } ] }
:
< br>
<br|>
Examples of correct code for { "tag-like": [ 2, { "invalid": 0 } ] }
:
< br>
<br|>
This rule can be configured for specific or custom tags by providing an object with the tag name as the key and the severity as the value. This option is useful for reporting deprecated extension tags.
Examples of incorrect code for { "tag-like": [ 0, { "mytag": 2 } ] }
:
<mytag>
Examples of correct code for { "tag-like": [ 2, { "mytag": 0 } ] }
:
<mytag>