Browse Source

#162 apply line breaks to SVGs as well

Johann ELSASS 7 months ago
parent
commit
7d263982dc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bgrasvgimagelist.pas

+ 1 - 1
bgrasvgimagelist.pas

@@ -221,7 +221,7 @@ begin
   try
     XMLConf.SetValue('Count', FItems.Count);
     for i := 0 to FItems.Count - 1 do
-      XMLConf.SetValue('Item' + i.ToString + '/SVG', FItems[i].Text);
+      XMLConf.SetValue('Item' + i.ToString + '/SVG', AdjustLineBreaks(FItems[i].Text, FDataLineBreak));
   finally
   end;
 end;