diff --git a/CHANGELOG.md b/CHANGELOG.md index 142d8f75..68d6054b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## v2.3.4: 2015-09-04 + ++ Whitespace slurp tag syntax -- `<%_ _%>` (@andidev) + ## v2.3.3: 2015-07-11 * Fixed false positives for old `include` preprocessor directive (@mde) diff --git a/docs/syntax.md b/docs/syntax.md index 75dc41b4..09055ee8 100644 --- a/docs/syntax.md +++ b/docs/syntax.md @@ -13,10 +13,12 @@ Table of contents - `<%=`: Escaped output - `<%-`: Unescaped output - `<%#`: Comments - - `<%`: Scriptlets + - `<%`: Scriptlet + - `<%_`: Scriptlet, removes all preceeding whitespace - Ending tags - `%>`: Regular ending tag - - `-%>`: Whitespace-trimming ending tag + - `-%>`: Removes trailing newline + - `_%>`: Removes all trailing whitespace - Literal tag - Including other files - “Preprocessor” directive