$line =~ s#\{\{Plugin\|([^}]+)\}\}#$1 plugin#g;
$line =~ s@\{\{Issue\|([^}]+)\}\}@#$1@g;
- $line =~ s#\[\[[^|]+\|([^\]]+)\]\]#$1#g;
- $line =~ s#\[\[([^|]+)\]\]#$1#g;
+ $line =~ s#\[\[[^|\]]+\|([^\]]+)\]\]#$1#g;
+ $line =~ s#\[\[([^|\]]+)\]\]#$1#g;
$line =~ s#'''(.*?)'''#*$1*#g;
$line =~ s#''(.*?)''#$1#g;
$line =~ s#<code>(.*?)</code>#"$1"#gi;
- print format_line($line);
+ print format_entry($line);
}