url encoding - bhsd-harry/wikiparser-node GitHub Wiki
url-encoding
⚠️ By default, this rule reports URL encoding in internal links which are unnecessary as warnings.
Examples
Examples of incorrect code for { "url-encoding": 2 }
:
[Foo%20Bar](/bhsd-harry/wikiparser-node/wiki/Foo%20Bar)
[Foo#%3B](/bhsd-harry/wikiparser-node/wiki/Foo#%3B)
Examples of correct code for { "url-encoding": 2 }
:
[Foo#%3C](/bhsd-harry/wikiparser-node/wiki/Foo#%3C)
Options
file
This option can be configured to specify the severity of URL encoding in file links.
Examples of incorrect code for { "url-encoding": [ 0, { "file": 2 } ] }
:


Examples of correct code for { "url-encoding": [ 2, { "file": 0 } ] }
:

