Skip to content

Commit bfdd16d

Browse files
Update CodeBehindLibraryCreator.cs
1 parent 64ff2c5 commit bfdd16d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

class/CodeBehindLibraryCreator.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ public void AspxTextAndCodeCombinationStandard(string AspxText, string FilePath,
440440
AstxText += TmpLine2 + @"\n";
441441
}
442442

443-
AspxText += AstxText;
443+
AspxText = AstxText + AspxText;
444444
}
445445

446446
string TextToCodeCombination = "";
@@ -929,7 +929,7 @@ public void AspxTextAndCodeCombinationRazor(string AspxText, string FilePath, st
929929
AstxText += TmpLine2 + @"\n";
930930
}
931931

932-
AspxText += AstxText;
932+
AspxText = AstxText + AspxText;
933933
}
934934

935935
// Fetch Template
@@ -1878,9 +1878,9 @@ public bool PartHasTemplateValue(string Text)
18781878
if (Text[i] == ' ' || Text[i] == '<')
18791879
return true;
18801880

1881-
if (Text[i] == '/' && (i + 1 < Text.Length))
1881+
if (Text[i] == '\\' && (i + 1 < Text.Length))
18821882
if (Text[i + 1] == 'n' || Text[i + 1] == 't' || Text[i + 1] == 'r')
1883-
return true;
1883+
return true;
18841884

18851885
break;
18861886
}

0 commit comments

Comments
 (0)