Repository navigation
v0.4.0
BREAKING CHANGES
-
Elements are now accessed from
<module>.ainstead 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!', }
-
imageandmenuitemare no longer considered predefined HTML elements, which meansa.imageanda.menuitemare no longer case-insensitive.
Features
acandy.Doctype.HTMLsupported. It returns'<!DOCTYPE html>'ontostring.a.fencedframeis now case-insensitive.