1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 22:14:12 +01:00

Fix template.highlightURL

This commit is contained in:
Kris Maglione
2009-04-06 16:42:48 -04:00
parent 7ace135ebb
commit 323f3ab175

View File

@@ -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;
},