Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## [1.4.3](https://github.com/posthtml/posthtml-expressions/compare/v1.4.2...v1.4.3) (2020-06-25)


### Bug Fixes

* clear raw tag after expression, close [#82](https://github.com/posthtml/posthtml-expressions/issues/82) ([2aaef58](https://github.com/posthtml/posthtml-expressions/commit/2aaef5867c0f7971358226f125b288e9de4d021c))



<a name="1.1.0"></a>
# [1.1.0](https://github.com/posthtml/posthtml-expressions/compare/v1.0.0...v1.1.0) (2016-12-14)

Expand Down
5 changes: 1 addition & 4 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -397,9 +397,7 @@ function walk (opts, nodes) {
}, [])
}


function clearRawTag(tree) {

function clearRawTag (tree) {
return tree.reduce((m, node) => {
if (node.content) {
node.content = clearRawTag(node.content)
Expand All @@ -413,5 +411,4 @@ function clearRawTag(tree) {

return m
}, [])

}
22 changes: 11 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "posthtml-expressions",
"version": "1.4.2",
"version": "1.4.3",
"description": "Expressions Plugin for PostHTML",
"engines": {
"node": ">=10"
Expand All @@ -9,7 +9,7 @@
"scripts": {
"lint": "standard",
"test": "nyc ava",
"logs": "standard-changelog -i CHANGELOG.md -w",
"version": "standard-changelog -i CHANGELOG.md -w",
"docs": "jsdoc2md lib/*.js > INDEX.md",
"clean": "rm -rf .nyc_output coverage jsdoc-api dmd",
"start": "sudo npm run clean && npm run lint && sudo npm test"
Expand All @@ -22,8 +22,8 @@
"coveralls": "^3.1.0",
"jsdoc-to-markdown": "^6.0.1",
"nyc": "^15.1.0",
"posthtml": "^0.13.0",
"posthtml-beautify": "^0.6.0",
"posthtml": "^0.13.1",
"posthtml-beautify": "^0.7.0",
"standard": "^14.3.4",
"standard-changelog": "^2.0.24"
},
Expand Down