jael 2.0.1
This commit is contained in:
parent
2ce9250491
commit
f1f4053dde
3 changed files with 9 additions and 3 deletions
|
@ -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
|
# 2.0.0
|
||||||
* Dart 2 updates.
|
* Dart 2 updates.
|
||||||
* Remove usage of `package:dart2_constant`.
|
* Remove usage of `package:dart2_constant`.
|
||||||
|
|
|
@ -294,7 +294,7 @@ class Renderer {
|
||||||
|
|
||||||
void renderElementChild(Element parent, ElementChild child, CodeBuffer buffer,
|
void renderElementChild(Element parent, ElementChild child, CodeBuffer buffer,
|
||||||
SymbolTable scope, bool html5, int index, int total) {
|
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)
|
if (index == 0)
|
||||||
buffer.write(child.span.text.trimLeft());
|
buffer.write(child.span.text.trimLeft());
|
||||||
else if (index == total - 1)
|
else if (index == total - 1)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: jael
|
name: jael
|
||||||
version: 2.0.0
|
version: 2.0.1
|
||||||
description: A simple server-side HTML templating engine for Dart.
|
description: A simple server-side HTML templating engine for Dart. Comparable to Blade or Liquid.
|
||||||
author: Tobe O <thosakwe@gmail.com>
|
author: Tobe O <thosakwe@gmail.com>
|
||||||
homepage: https://github.com/angel-dart/jael/tree/master/jael
|
homepage: https://github.com/angel-dart/jael/tree/master/jael
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Reference in a new issue