buixuanan / fritzing

Automatically exported from code.google.com/p/fritzing
0 stars 0 forks source link

SVG export with note with http://...?x=1&y=2 makes SVG viewers unhappy #2843

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add a note with an URL like http://localhost/test?x=1&y=2
2. Export to SVG.
3. Be happy that the export works, but find that most SVG viewers show an error 
and display nothing; Chromium shows everything until the error (error on line 
4315 at column 40: EntityRef: expecting ';').

I attached the sketch and the SVG. I'm using Fritzing 0.8.5 on Ubuntu 13.10 (64 
bit).

The offending line apparently is this one:

<tspan fill='#000000' >http://localhost/test?x=1&y=2 </tspan>

Original issue reported on code.google.com by mmau...@googlemail.com on 29 Dec 2013 at 9:48

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks. Looks like the ampersand in the url isn't being escaped properly.

Original comment by irasc...@gmail.com on 31 Dec 2013 at 6:39

GoogleCodeExporter commented 9 years ago
ra77335c89ece: note text is escaped

Original comment by irasc...@gmail.com on 31 Dec 2013 at 7:45