git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
browser: update recognised agents of statcounter
[sheet.git]
/
source.plp
diff --git
a/source.plp
b/source.plp
index e3b2609b92f12362b4adce28497ef22d77008c42..71ed8cecf15c46c50d1399d6ae052dbc757cd9eb 100644
(file)
--- a/
source.plp
+++ b/
source.plp
@@
-93,7
+93,7
@@
else {
my $arg = '';
print "<$tag$arg class=\"sy-\l$type\">" if $tag;
if (!$type || $type eq 'Constant'
my $arg = '';
print "<$tag$arg class=\"sy-\l$type\">" if $tag;
if (!$type || $type eq 'Constant'
- and $contents =~ s{^(['"]?)(
/?[a-z0-9_.
]+\.(?:plp?|css|js))(?=\1$)}{}) {
+ and $contents =~ s{^(['"]?)(
[/a-z0-9_.-
]+\.(?:plp?|css|js))(?=\1$)}{}) {
# link other page sources, stylesheets, and javascript
print $1 . showlink($2, "/source/$2");
}
# link other page sources, stylesheets, and javascript
print $1 . showlink($2, "/source/$2");
}