Last active
October 20, 2016 12:38
-
-
Save JeroenVdb/248e8a907f97331418fe9f5f3d36884c to your computer and use it in GitHub Desktop.
Template Preprocessing and BEM CSS syntax problem
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%EXTENDS ../html5.01.common | |
# ------------------------------------------------------------ | |
%CONTEXT | |
size = 123 | |
# ------------------------------------------------------------ | |
%INPUT | |
<p th:text="`00${size}00`">...</p> | |
<p th:text="`00__${size}__00`">...</p> | |
<p th:text="'00__${size}__00'">...</p> | |
<p th:text="'00__${size}00'">...</p> | |
<p th:text="'00'something'00'">...</p> | |
<p th:text="'00something00'">...</p> | |
# ------------------------------------------------------------ | |
%OUTPUT | |
<p>0012300</p> | |
<p>00__123__00</p> | |
<p>00__${size}__00</p> | |
<p>00__${size}00</p> | |
<p>00something00</p> | |
<p>00something00</p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment