We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 57de2a5 + 640845d commit f6cbed8Copy full SHA for f6cbed8
src/MiniWord/MiniWord.Implment.cs
@@ -238,7 +238,7 @@ private static void AvoidSplitTagText(OpenXmlElement xmlElement)
238
foreach (var text in texts)
239
{
240
var clear = false;
241
- if (text.InnerText.StartsWith("{"))
+ if (text.InnerText.TrimStart().StartsWith("{"))
242
243
needAppend = true;
244
}
@@ -247,7 +247,7 @@ private static void AvoidSplitTagText(OpenXmlElement xmlElement)
247
sb.Append(text.InnerText);
248
pool.Add(text);
249
250
- var s = sb.ToString(); //TODO:
+ var s = sb.ToString().TrimStart(); //TODO:
251
// TODO: check tag exist
252
// TODO: record tag text if without tag then system need to clear them
253
// TODO: every {{tag}} one <t>for them</t> and add text before first text and copy first one and remove {{, tagname, }}
0 commit comments