aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar wodim2017-08-25 10:32:12 +0200
committerGravatar wodim2017-08-25 11:25:28 +0200
commit9293b14108efd63a7f20397e246c271ba871607f (patch)
treeddfead47cc17a12fa131f3351168ee536f6ce61a
parentAdd missing include on some versions of Qt (diff)
downloadKVIrc-9293b14108efd63a7f20397e246c271ba871607f.tar.gz
KVIrc-9293b14108efd63a7f20397e246c271ba871607f.tar.bz2
KVIrc-9293b14108efd63a7f20397e246c271ba871607f.zip
Fix the text of all links in the documentation being lowercase.
-rwxr-xr-xadmin/gendoc.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/gendoc.pl b/admin/gendoc.pl
index 2e6265b28..dd608df8d 100755
--- a/admin/gendoc.pl
+++ b/admin/gendoc.pl
@@ -667,8 +667,8 @@ sub process_body_line
$_[0] =~ s/\[\/comment\]/<\/span>/g;
# The doc tag needs to include '$(*)' due to the expressioneval article
- $_[0] =~ s/\[doc\]([a-zA-Z0-9_\$*\(\)]*)\[\/doc\]/\<a href=\"doc_\L\1$g_fileextension">\1\<\/a\>/g;
- $_[0] =~ s/\[doc:([a-zA-Z0-9_]*)\]([a-zA-Z0-9_\-\&\;\.\$*\(\) ]*)\[\/doc\]/\<a href=\"doc_\L\1$g_fileextension"\>\2\<\/a\>/g;
+ $_[0] =~ s/\[doc\]([a-zA-Z0-9_\$*\(\)]*)\[\/doc\]/\<a href=\"doc_\L\1\E$g_fileextension">\1\<\/a\>/g;
+ $_[0] =~ s/\[doc:([a-zA-Z0-9_]*)\]([a-zA-Z0-9_\-\&\;\.\$*\(\) ]*)\[\/doc\]/\<a href=\"doc_\L\1\E$g_fileextension"\>\2\<\/a\>/g;
$_[0] =~ s/\[cmd\]([a-zA-Z0-9_\.]*)\[\/cmd\]/\<a href=\"cmd_\L\1$g_fileextension">\1\<\/a\>/g;
$_[0] =~ s/\[cmd:([a-zA-Z0-9_\.]*)\]([a-zA-Z0-9_\-\&\;\. ]*)\[\/cmd\]/\<a href=\"cmd_\L\1$g_fileextension"\>\2\<\/a\>/g;