GuntherRademacher / rr

RR - Railroad Diagram Generator
Apache License 2.0
483 stars 49 forks source link

No lines in SVG rendering #17

Closed PanderMusubi closed 2 years ago

PanderMusubi commented 2 years ago

No lines in SVG rendering, reported for version 1.63. Lines are shown in PNG.

Screenshot from 2022-05-15 19-59-32

GuntherRademacher commented 2 years ago

This happens when you save the XHTML+SVG output into a file with extension .html and let Chrome or Firefox render it. Even though the document contains an XHTML 1.0 Transitional Doctype declaration, browsers seen to rely on the file extension. It can be solved by using a file extension properly indicating XHTML, e.g. .xhtml.

PanderMusubi commented 2 years ago

Thanks, that fixed it indeed.