Center docs again

This commit is contained in:
Stephan Hoyer 2022-02-27 18:54:11 +01:00
parent a8e25b739b
commit 94774e73b0
3 changed files with 5 additions and 5 deletions

View file

@ -462,7 +462,7 @@ module.exports = function(options) {
if (!this.hasAttribute("href")) return ""
// HACK: if it's valid already, there's nothing to implement.
var value = this.attributes.href.value
if (validURLRegex.test(value)) return value
if (validURLRegex.test(encodeURI(value))) return value
}
return "[FIXME implement]"
},