B2020-040: section with title tht includes number & comma with an empty section number prints with ‘, ‘ at the beginning of text
This commit is contained in:
parent
f80304a8a7
commit
124940dc4f
@ -1813,6 +1813,10 @@ i = 0;
|
||||
}
|
||||
else
|
||||
plstr = plstr.Replace(token, "");
|
||||
// B2020-040: pagelist was {SECTIONLEVELNUMBER}, {SECTIONLEVELTITLE} and if no SECTIONLEVELNUMBER exists, printed
|
||||
// text starts with a ', ' - remove it.
|
||||
if (plstr.StartsWith(", ") && plstr.IndexOf("{SECTIONLEVELTITLE}") == 2)
|
||||
plstr = plstr.Substring(2);
|
||||
//svgGroup.Add(PageItemToSvgText(pageItem, pageItem.Token.Replace(token, section.DisplayNumber)));
|
||||
break;
|
||||
case "{METASECTIONNUMBER}": // This will print the top level section number
|
||||
|
Loading…
x
Reference in New Issue
Block a user