projects
/
pve-docs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4593083
)
support xref using <<>> syntax
author
Dietmar Maurer
<dietmar@proxmox.com>
Sat, 8 Oct 2016 12:09:45 +0000
(14:09 +0200)
committer
Dietmar Maurer
<dietmar@proxmox.com>
Sat, 8 Oct 2016 12:09:45 +0000
(14:09 +0200)
asciidoc-pve.in
patch
|
blob
|
blame
|
history
diff --git
a/asciidoc-pve.in
b/asciidoc-pve.in
index ab6edef67e21afe580fa097bccfd9f610ac1f687..f1805c04c2ce97e0f19d2baf4f08c367f15c7a4c 100644
(file)
--- 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;
}