Skip to content

Commit 77f6f73

Browse files
committed
Fixed {{"</foo>"}} not outputting HTML.
1 parent 2906c37 commit 77f6f73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/functions.lua2p

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ end
153153
do
154154
-- isValueExpression = insertLuaForEchoingIfExpression( luaOutputBuffer, luaCode )
155155
local function insertLuaForEchoingIfExpression(out, luaCode)
156-
local doBlock = F("do local v = (%s) if type__(v) == 'string' and v:find'^%%s*<[!%%a].*>%%s*$' then echoRaw__(v) elseif v ~= nil then echo__(v) end end ", luaCode)
156+
local doBlock = F("do local v = (%s) if type__(v) == 'string' and v:find'^%%s*<[!%%a/].*>%%s*$' then echoRaw__(v) elseif v ~= nil then echo__(v) end end ", luaCode)
157157
if not loadstring(doBlock) then return false end
158158

159159
table.insert(out, doBlock)

0 commit comments

Comments
 (0)