mirror of
git://git.proxmox.com/git/pve-docs.git
synced 2025-01-06 13:17:48 +03:00
make sure we have a text for all xrefs
This commit is contained in:
parent
5f09af76d7
commit
508e00124c
@ -72,12 +72,15 @@ sub replace_wiki_xref {
|
||||
|
||||
$text = $reftext if !length($text);
|
||||
|
||||
die "xref: no text for '$blockid'\n" if !$text;
|
||||
|
||||
return "$link\[$text\]";
|
||||
}
|
||||
|
||||
sub prepare_adoc_file {
|
||||
my ($filename, $attributes) = @_;
|
||||
|
||||
|
||||
return if $prepared_files->{$filename};
|
||||
|
||||
print "PREPARE $filename\n";
|
||||
|
Loading…
Reference in New Issue
Block a user