5
0
mirror of git://git.proxmox.com/git/pve-docs.git synced 2025-03-22 02:50:06 +03:00

support xref using <<>> syntax

This commit is contained in:
Dietmar Maurer 2016-10-08 14:09:45 +02:00
parent 459308313d
commit a16bf08ef3

View File

@ -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;
}