Add special case for templates to render script
This commit is contained in:
parent
da2f082939
commit
24ee30f72d
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ const parseAttribute = (attribute) => {
|
|||
}
|
||||
|
||||
const parseArgs = (element, args) => {
|
||||
if ("content" in element) element = element.content
|
||||
for (arg of args)
|
||||
if (typeof(arg) == "string")
|
||||
element.appendChild(document.createTextNode(arg))
|
||||
|
|
Loading…
Reference in a new issue