mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 05:32:29 +02:00
Fix template.highlightURL
This commit is contained in:
1 parent
7ace135ebb
commit
323f3ab175
1 file changed
+1
-1
@@ -208,7 +208,7 @@ const template = {
|
||||
highlightURL: function highlightURL(str, force)
|
||||
{
|
||||
if (force || /^[a-zA-Z]+:\/\//.test(str))
|
||||
return <a highlight="URL" href="#">{str}</a>;
|
||||
return <a highlight="URL" href={str}>{str}</a>;
|
||||
else
|
||||
return str;
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user