mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
fix output of XML document types
svn path=/trunk/; revision=23403
This commit is contained in:
parent
eb035c3d8f
commit
9940e41a7b
2 changed files with 6 additions and 6 deletions
|
@ -610,14 +610,14 @@ void XMLFormat::print_header(std::ostream& out, bool lf) const
|
|||
out << "<!DOCTYPE " << _doctype._name;
|
||||
|
||||
if (!_doctype._public.empty()) {
|
||||
out << " PUBLIC " << _doctype._public;
|
||||
out << " PUBLIC \"" << _doctype._public << '"';
|
||||
|
||||
if (lf)
|
||||
out << _endl;
|
||||
|
||||
out << " " << _doctype._system;
|
||||
out << " \"" << _doctype._system << '"';
|
||||
} else if (!_doctype._system.empty())
|
||||
out << " SYSTEM " << _doctype._system;
|
||||
out << " SYSTEM \"" << _doctype._system << '"';
|
||||
|
||||
out << "?>";
|
||||
|
||||
|
|
|
@ -610,14 +610,14 @@ void XMLFormat::print_header(std::ostream& out, bool lf) const
|
|||
out << "<!DOCTYPE " << _doctype._name;
|
||||
|
||||
if (!_doctype._public.empty()) {
|
||||
out << " PUBLIC " << _doctype._public;
|
||||
out << " PUBLIC \"" << _doctype._public << '"';
|
||||
|
||||
if (lf)
|
||||
out << _endl;
|
||||
|
||||
out << " " << _doctype._system;
|
||||
out << " \"" << _doctype._system << '"';
|
||||
} else if (!_doctype._system.empty())
|
||||
out << " SYSTEM " << _doctype._system;
|
||||
out << " SYSTEM \"" << _doctype._system << '"';
|
||||
|
||||
out << "?>";
|
||||
|
||||
|
|
Loading…
Reference in a new issue