Skip to content

Commit d7c9ca6

Browse files
committed
Tagging 1.1.1...
Forgot the fix for the [[]]-bug. D'oh.
1 parent 80ece75 commit d7c9ca6

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGELOG

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
LuaHTML 1.1.1
2+
=============
3+
4+
* Forgot the fix for the [[]]-bug. D'oh.
5+
16
LuaHTML 1.1.0
27
=============
38

luahtml/init.lua

+3
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ function format(text)
6464
if not text or type(text) ~= "string" then
6565
error("bad argument #1 to 'format' (string expected, got "..type(text)..")")
6666
end
67+
if not text:find("%[%[") then
68+
return text
69+
end
6770
local env,blocks,out,p = {},{},{},{}
6871
setmetatable(env, {__index = OUTER})
6972
if LuaVersion == "Lua 5.1" then

0 commit comments

Comments
 (0)