summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/highlight.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/highlight.pm b/IkiWiki/Plugin/highlight.pm
index f43f18628..117ab5898 100644
--- a/IkiWiki/Plugin/highlight.pm
+++ b/IkiWiki/Plugin/highlight.pm
@@ -23,7 +23,7 @@ sub getsetup () {
},
tohighlight => {
type => "string",
- example => ".c, .h, .cpp, .pl, .py, Makefile:make",
+ example => ".c .h .cpp .pl .py Makefile:make",
description => "source files to syntax highlight",
safe => 1,
rebuild => 1,
@@ -32,7 +32,7 @@ sub getsetup () {
sub checkconfig () {
if (exists $config{tohighlight}) {
- foreach my $file (split /, /, $config{tohighlight}) {
+ foreach my $file (split ' ', $config{tohighlight}) {
my @opts = $file=~s/^\.// ?
(keepextension => 1) :
(noextension => 1);