mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-19 21:55:47 +01:00
Remove fixed FIXME comment from template.highlightURL.
This commit is contained in:
@@ -204,7 +204,6 @@ const template = {
|
|||||||
return s + <>{str.substr(start)}</>;
|
return s + <>{str.substr(start)}</>;
|
||||||
},
|
},
|
||||||
|
|
||||||
// FIXME: why is href="#"?
|
|
||||||
highlightURL: function highlightURL(str, force)
|
highlightURL: function highlightURL(str, force)
|
||||||
{
|
{
|
||||||
if (force || /^[a-zA-Z]+:\/\//.test(str))
|
if (force || /^[a-zA-Z]+:\/\//.test(str))
|
||||||
|
|||||||
Reference in New Issue
Block a user