mirror of
https://github.com/postgres/postgres.git
synced 2025-08-30 06:01:21 +03:00
Don't use SGML empty tags
For DocBook XML compatibility, don't use SGML empty tags (</>) anymore, replace by the full tag name. Add a warning option to catch future occurrences. Alexander Lakhin, Jürgen Purtz
This commit is contained in:
@@ -30,12 +30,12 @@ while (<$errcodes>)
|
||||
s/-/—/;
|
||||
|
||||
# Wrap PostgreSQL in <productname/>
|
||||
s/PostgreSQL/<productname>PostgreSQL<\/>/g;
|
||||
s/PostgreSQL/<productname>PostgreSQL<\/productname>/g;
|
||||
|
||||
print "\n\n";
|
||||
print "<row>\n";
|
||||
print "<entry spanname=\"span12\">";
|
||||
print "<emphasis role=\"bold\">$_</></entry>\n";
|
||||
print "<emphasis role=\"bold\">$_</emphasis></entry>\n";
|
||||
print "</row>\n";
|
||||
|
||||
next;
|
||||
|
Reference in New Issue
Block a user