From a16bf08ef328c9980ddeefd9bc7a2ac21822122a Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Sat, 8 Oct 2016 14:09:45 +0200 Subject: [PATCH] support xref using <<>> syntax --- asciidoc-pve.in | 1 + 1 file changed, 1 insertion(+) diff --git a/asciidoc-pve.in b/asciidoc-pve.in index ab6edef..f1805c0 100644 --- a/asciidoc-pve.in +++ b/asciidoc-pve.in @@ -124,6 +124,7 @@ sub prepare_adoc_file { # fix xrefs $line =~ s/xref:([^\s\[\]]+)\[([^\]]*)\]/replace_wiki_xref($1,$2)/ge; + $line =~ s/<<([^\s,\[\]]+)(?:,(.*?))?>>/replace_wiki_xref($1,$2)/ge; print $outfh $line; } -- 2.39.2