Entering style attribute that begins with a semicolon causes the XML editor to delete the style attribute
Bug #518677 reported by
Will Pittenger
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Invalid
|
Medium
|
Unassigned |
Bug Description
If you use the XML editor to manually set the style of an object and the style string begins with a semicolon, Inkscape 0.47 clears the style instead of setting it. It appears the semicolon causes the parser to conclude the entire string is blank. Conversely, if the string ends with a semicolon, Inkscape will strip it out. The same behavior should be used when the semicolon begins the string. I assume that a TrimRight and TrimLeft functions are available that can remove both spaces and semicolons.
I am using Vista SP2 64-bit.
tags: | added: xmleditor |
Changed in inkscape: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
To post a comment you must log in.
Still repro. I wrote it like ;opacity.
Arch Linux 64-bit, KDE Plasma 5
Inkscape 0.92pre1 15054 (GTK3)