mirror of https://github.com/tLDP/LDP
remove </?dummy> tag from SGML, onsgmls don't like it
This commit is contained in:
parent
64ead3b06e
commit
6e767096f0
|
@ -4,6 +4,7 @@
|
|||
# 20020128/PB: change PDF generation to LDP conform one, PS is still not LDP conform
|
||||
# 20070401/PB: disable sgmlfixer (no longer needed)
|
||||
# add support for XML file, replace nsgmls by onsgmls
|
||||
# 20090214/PB: remove </?dummy> tag from SGML, onsgmls don't like it
|
||||
|
||||
# $Id$
|
||||
|
||||
|
@ -105,6 +106,9 @@ validate_sgml() {
|
|||
fi
|
||||
fi
|
||||
|
||||
# remove tags <dummy>, </dummy>
|
||||
perl -pi -e 's|</?dummy>||g' "$file_input"
|
||||
|
||||
echo "INF: Validate SGML/XML code '$file_input'"
|
||||
if [ "$doctype" = "XML" ]; then
|
||||
local options="$file_xmldcl"
|
||||
|
|
Loading…
Reference in New Issue