We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0cdc6ad + 90d8e16 commit 6bbe677Copy full SHA for 6bbe677
src/happyx/spa/tag.nim
@@ -601,7 +601,10 @@ func `$`*(self: TagRef): string =
601
argsStr = self.args.join(" ")
602
603
if self.isText:
604
- return xmltree.escape(self.name)
+ if self.parent.name.toLower() == "script":
605
+ return self.name
606
+ else:
607
+ return xmltree.escape(self.name)
608
609
var attrs = ""
610
for key, value in self.attrs.pairs():
@@ -935,7 +938,10 @@ when defined(js):
935
938
936
939
937
940
941
942
943
944
945
946
947
0 commit comments