Closed herrherrmann closed 3 years ago
Hi, ignoring-expressions or ignored-tag
Thanks for the headsup! Interestingly, the only thing that worked for me now was a combination of the two syntaxes:
@{{ username }}
Output:
undefined
<raw>{{ username }}</raw>
Output:
undefined
<raw>@{{ username }}</raw>
Output:
{{ username }}
I’d like to use locals inside my modules but keep some of the placeholder syntax around (for another post-processing step outside of posthtml).
Example:
Input:
Expected output:
Actual output:
posthtml-expressions supports the
@{{}}
syntax to achieve this but posthtml-modules doesn’t seem to interpret them accordingly. Are there any considerations to add this feature or possible workarounds with the current version?Thanks in advance for any help!