Remove extra space in an empty tag for format_raw
When using format_raw the space in the empty tag (<node />) is the only character that does not have to be there; so format_raw almost results in a minimal XML but not quite. It's pretty unlikely that this is crucial for any users - the formatting change should be benign, and it's better to improve format_raw than to add yet another flag. Fixes #87.
Showing
- src/pugixml.cpp 4 additions, 1 deletionsrc/pugixml.cpp
- tests/test_document.cpp 35 additions, 35 deletionstests/test_document.cpp
- tests/test_dom_modify.cpp 85 additions, 85 deletionstests/test_dom_modify.cpp
- tests/test_dom_text.cpp 3 additions, 3 deletionstests/test_dom_text.cpp
- tests/test_parse.cpp 32 additions, 32 deletionstests/test_parse.cpp
- tests/test_parse_doctype.cpp 3 additions, 3 deletionstests/test_parse_doctype.cpp
- tests/test_write.cpp 6 additions, 6 deletionstests/test_write.cpp
Loading
Please register or sign in to comment