5
0
mirror of git://git.proxmox.com/git/pve-docs.git synced 2025-01-22 22:03:47 +03:00

make sure we have a text for all xrefs

This commit is contained in:
Dietmar Maurer 2016-10-09 08:01:49 +02:00
parent 5f09af76d7
commit 508e00124c

View File

@ -72,12 +72,15 @@ sub replace_wiki_xref {
$text = $reftext if !length($text); $text = $reftext if !length($text);
die "xref: no text for '$blockid'\n" if !$text;
return "$link\[$text\]"; return "$link\[$text\]";
} }
sub prepare_adoc_file { sub prepare_adoc_file {
my ($filename, $attributes) = @_; my ($filename, $attributes) = @_;
return if $prepared_files->{$filename}; return if $prepared_files->{$filename};
print "PREPARE $filename\n"; print "PREPARE $filename\n";