FIxed the tab tzpe line Bug

This commit is contained in:
schnulller
2022-05-23 00:24:20 +02:00
parent 45b5999981
commit f706036063
3 changed files with 5 additions and 3 deletions

View File

@@ -233,7 +233,10 @@ public class LetterRules
}
// Line type=line
if(tag["type"] == "line") sb.Append(HaWeb.HTMLHelpers.TagHelpers.CreateElement(DEFAULTELEMENT, LINELINECLASS));
if(tag["type"] == "line") {
sb.Append(HaWeb.HTMLHelpers.TagHelpers.CreateElement(DEFAULTELEMENT, LINELINECLASS));
sb.Append(HaWeb.HTMLHelpers.TagHelpers.CreateEndElement(DEFAULTELEMENT));
}
// Line tab=
if(!String.IsNullOrWhiteSpace(tag["tab"])) {