Replace empty content with dash as a workaround.
refs #7231
Change-Id: Iac8257d12d4a6201f766a7458c6315ab5e84f113
if ("$text".equals(ass.attributeNameOrId)) {
if (e instanceof Tspan) {
Tspan t = (Tspan) e;
if ("$text".equals(ass.attributeNameOrId)) {
if (e instanceof Tspan) {
Tspan t = (Tspan) e;
+ if (ass.value.trim().isEmpty()) {
+ t.setText("-");
+ } else {
+ t.setText(ass.value);
+ }
SVGElement parent = t.getParent();
if (parent instanceof Text)
((Text) parent).rebuild();
SVGElement parent = t.getParent();
if (parent instanceof Text)
((Text) parent).rebuild();