v0.4.0
BREAKING CHANGES
-
Elements are now accessed from
<module>.a
instead of directly from the module, for instance:before 0.4:
local a = require('acandy') local frag = a.Fragment { a.h1 'An Example', a.p 'Hello, world!', }
in 0.4:
local acandy = require('acandy') local a = acandy.a local frag = acandy.Fragment { a.h1 'An Example', a.p 'Hello, world!', }
-
image
andmenuitem
are no longer considered predefined HTML elements, which meansa.image
anda.menuitem
are no longer case-insensitive.
Features
acandy.Doctype.HTML
supported. It returns'<!DOCTYPE html>'
ontostring
.a.fencedframe
is now case-insensitive.