- Added support for prefix objects.
- Added settings for delimiters between classes.
- Fixed escaping for inline tags' attribute values, #84.
- Now supporting Pug, released as
bemto.pug
in npm.
- Fixed improper boolean attributes for custom tags.
- Fixed incorrect behaviour of mixed blocks, #70.
- Fixed the incorrect rendering of falsey attribute in inline tags, #71.
- Fixed incorrect handling of class tags with numbers.
- Added a
bemto_scope
mixin for setting settings at a scope level. - Added a way to redefine prefix on block/element level.
- Added a way to redefine tag's metadata in block's options.
- Added a
flat_elements
setting to allow elements of elements. - Added a
role="presentation"
for links with emptyalt
, via Estelle Weyl. - Added a
role="main"
for the<main>
tag. - Added
output_element
andoutput_modifier
for changing the syntax of the output delimiters. src
-less images now would have null gif inlined (or set to the given src).- Changed the default way the tag is passed: using either a first uppercase class or an option object.
- Changed the settings to be a single object and not a bunch of variables.
- Changed the way custom tag works, properly rendering unknown tags (including self-closing if defined in options).
- Changed the way attribute-implied tags are handled.
- Changed the order of the classes in output (was: alphabet, now: the same as in source).
- Fixed a case when the context stack was incorrectly emptied.
- Fixed the jade-bug-hardcoded doctype.
- Fixed classless blocks.
- Fixed modifiers on elements with certain separators defined.
- Fixed the blockness of a textarea and a pre tags to prevent from extra whitespace to appear inside.
- Added Code of Conduct.
- Fixed the absence of the
time
tag.
- Fixed support for more html5 elements:
<figure>
,<figcaption>
,<main>
,<picture>
and<source/>
.
- Fixed
select
andoption
rendered asdiv
s.
- Removed (before undocummented) automixing of current block on element blocks.
- Added auto inputs on
type
attribute, #38. - Added
<svg>
to supported tags, #39.
- Fixed
<hr>
being replaced with<br>
, #37.
- Initial version