You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given a puml file with trailing whitespace after @enduml, and using the -pipe to process an SVG file, the first generated diagram is succeeded by an empty svg diagram, which makes the SVG invalid XML:
@startuml
Bob->Alice : hello
@enduml
^ two empty lines after @enduml
/usr/bin/java -jar target/plantuml-1.2020.15-SNAPSHOT.jar -nometadata -tsvg -pipe -pipenostderr < trailing-whitespace.puml | xmllint --format -
Some diagram description contains errors
-:1: parser error : Extra content at the end of the document
ust="spacingAndGlyphs" textLength="31" x="37" y="65.0566">hello</text></g></svg>
^
Expectation whas, that those two empty lines after @enduml would just be ignored.
The text was updated successfully, but these errors were encountered:
Given a puml file with trailing whitespace after @enduml, and using the
-pipe
to process an SVG file, the first generated diagram is succeeded by an empty svg diagram, which makes the SVG invalid XML:^ two empty lines after @enduml
Expectation whas, that those two empty lines after @enduml would just be ignored.
The text was updated successfully, but these errors were encountered: