Entering style attribute that begins with a semicolon causes the XML editor to delete the style attribute

Bug #518677 reported by Will Pittenger on 2010-02-08
This bug affects 1 person
Affects Status Importance Assigned to Milestone

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.

su_v (suv-lp) on 2010-02-08
tags: added: xmleditor
Changed in inkscape:
status: New → Confirmed
importance: Undecided → Medium
Beluga (buovjaga) wrote :

Still repro. I wrote it like ;opacity.

Arch Linux 64-bit, KDE Plasma 5
Inkscape 0.92pre1 15054 (GTK3)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers