Skip to content

v2.5.0

Latest
Compare
Choose a tag to compare
@phorward phorward released this 26 Jul 12:47
· 116 commits to master since this release

Release date: Jul 26, 2019

  • Bugfix: Widget.Th() now supporting full col-/rowspan getting and setting.
  • Bugfix: HTML-parser accepts tags in upper-/camel-case order now.
  • Bugfix: HTML-parser handles table tags with tbody/thead tags inside more gracefully.
  • Feature: Split HTML-parser into separate stages to compile and run; This allows to pre-compile HTML into a list/dict-structure and render it later on without parsing it again. parseHTML() is the new function, fromHTML() works like before and handles pre-compiled or raw HTML as parameter.
  • Feature: fromHTML() extended to vars parameter to replace key-value pairs in text-nodes and attribute values expressed as {{key}}.
  • Feature: HTML-parser dynamically reconizes void elements
  • Feature: html5.registerTag() can be used to define new or override existing HTML elements in the HTML parser by custom implementations based on html5.Widget()
  • Feature: New function Widget.isVisible() as counterpart for Widget.isHidden().