summaryrefslogtreecommitdiff
path: root/pandoc-cs1
diff options
context:
space:
mode:
Diffstat (limited to 'pandoc-cs1')
-rwxr-xr-xpandoc-cs12
1 files changed, 1 insertions, 1 deletions
diff --git a/pandoc-cs1 b/pandoc-cs1
index 197d882..2cfc81a 100755
--- a/pandoc-cs1
+++ b/pandoc-cs1
@@ -26,7 +26,7 @@ pandoc_filter sub {
return unless ($self->name eq 'RawInline' and $self->format eq 'mediawiki');
given ($self->content) {
- when (/^\{\{cite\s+(\w+)\s*\|([^}]*)\}}$/) {
+ when (/^\{\{cite\s+(\w+)\s*\|(.*)\}\}$/) {
my $id = 'ref'.++$i;
my @data = pairmap { $b =~ s/"/\\"/g; "$a=\"$b\"" }
map { /^\s*(\w+)\s*=\s*"?(.*?)"?\s*$/ }