git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f5f28c
)
browser: replace inter-feature links to caniuse.com
author
Mischa POSLAWSKY
<perl@shiar.org>
Wed, 17 Nov 2021 01:37:54 +0000
(
02:37
+0100)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 6 Dec 2021 11:07:29 +0000
(12:07 +0100)
browser.plp
patch
|
blob
|
history
diff --git
a/browser.plp
b/browser.plp
index e6491cba039951ae034ade42a20dbad82d045e3b..930c435fb83b14d5ea39c93f1f8e77e3b58bfdca 100644
(file)
--- a/
browser.plp
+++ b/
browser.plp
@@
-311,6
+311,7
@@
sub formatnotes {
s/(?<= [^.\n]) $/./gmx; # consistently end each line by a period
Entity($_);
s{ ` ([^`]*) ` }{<code>$1</code>}gx;
+ s{ \(\K (?: \Qhttps://caniuse.com\E )? (?: /? \#feat= | / ) }{#}gx;
s{ \[ ([^]]*) \] \( ([^)]*) \) }{<a href="$2">$1</a>}gx;
}
return @html;