jael 2.0.1

This commit is contained in:
Tobe O 2018-11-10 14:20:03 -05:00
parent 2ce9250491
commit f1f4053dde
3 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
# 2.0.1
* Fixed bug where the `textarea` name check would never return `true`.
# 2.0.0+1
* Meta-update for Pub score.
# 2.0.0
* Dart 2 updates.
* Remove usage of `package:dart2_constant`.

View file

@ -294,7 +294,7 @@ class Renderer {
void renderElementChild(Element parent, ElementChild child, CodeBuffer buffer,
SymbolTable scope, bool html5, int index, int total) {
if (child is Text && parent?.tagName != 'textarea') {
if (child is Text && parent?.tagName?.name != 'textarea') {
if (index == 0)
buffer.write(child.span.text.trimLeft());
else if (index == total - 1)

View file

@ -1,6 +1,6 @@
name: jael
version: 2.0.0
description: A simple server-side HTML templating engine for Dart.
version: 2.0.1
description: A simple server-side HTML templating engine for Dart. Comparable to Blade or Liquid.
author: Tobe O <thosakwe@gmail.com>
homepage: https://github.com/angel-dart/jael/tree/master/jael
environment: