This commit is contained in:
parent
3a49176ee3
commit
66e7690661
@ -231,6 +231,7 @@ namespace Volian.Controls.Library
|
|||||||
string beforeRO = StaticStripRtfCommands(text.Substring(0, g.Index));
|
string beforeRO = StaticStripRtfCommands(text.Substring(0, g.Index));
|
||||||
string afterRO = StaticStripRtfCommands(text.Substring(g.Index + g.Length));
|
string afterRO = StaticStripRtfCommands(text.Substring(g.Index + g.Length));
|
||||||
string newvalue = DoROFormatFlags(g.ToString(), beforeRO, afterRO);
|
string newvalue = DoROFormatFlags(g.ToString(), beforeRO, afterRO);
|
||||||
|
newvalue = newvalue.Replace(" ", @"\u160?");
|
||||||
if (g.ToString() != newvalue)
|
if (g.ToString() != newvalue)
|
||||||
text = text.Substring(0, g.Index) + newvalue + text.Substring(g.Index + g.Length);
|
text = text.Substring(0, g.Index) + newvalue + text.Substring(g.Index + g.Length);
|
||||||
}
|
}
|
||||||
|
@ -125,7 +125,7 @@ namespace Volian.Print.Library
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
_MySection = value;
|
_MySection = value;
|
||||||
MySectionTitle = (_MySection.DisplayNumber == null ? "" : _MySection.DisplayNumber + " - ") + _MySection.DisplayText;
|
MySectionTitle = ((_MySection.DisplayNumber ?? "")=="" ? "" : _MySection.DisplayNumber + " - ") + _MySection.DisplayText;
|
||||||
MySvg = BuildSvg(_MySection);
|
MySvg = BuildSvg(_MySection);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user