Skip to content

Commit be49a5e

Browse files
authored
Merge pull request #96 from posthtml/milestone-1.4.6
Milestone 1.4.6
2 parents 3ae310d + 4d2df3d commit be49a5e

File tree

6 files changed

+110
-101
lines changed

6 files changed

+110
-101
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## [1.4.6](https://github.com/posthtml/posthtml-expressions/compare/v1.4.5...v1.4.6) (2020-08-23)
2+
3+
4+
### Bug Fixes
5+
6+
* remove node text after condition, close [#62](https://github.com/posthtml/posthtml-expressions/issues/62) ([2cefe7d](https://github.com/posthtml/posthtml-expressions/commit/2cefe7dac40b61e82752c7f03b91296870474194))
7+
8+
9+
110
## [1.4.5](https://github.com/posthtml/posthtml-expressions/compare/v1.4.4...v1.4.5) (2020-07-07)
211

312

lib/tags.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ function getNextTag (nodes, i) {
1717

1818
if (typeof node === 'object') {
1919
return [i, node]
20+
} else if (typeof node === 'string' && node.trim().length > 0) {
21+
return [i++, node]
2022
} else {
2123
i++
2224
}

package-lock.json

Lines changed: 83 additions & 95 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)