posthtml-expressions
posthtml-expressions copied to clipboard
Delimiters (Angle Brackets)
They are parsed as html tags
@jescalan Is there a way to solve this ?
Should work fine with ['<', '>'] after #27. But, unfortunately, double angle brackets are not working (they are parsed as html tags: < + < key >>).
Perhaps, in some cases, the parser does not work correctly.
The only way to solve it is to charge the parser structure. It works in reshape, but reshape uses a different parser entirely.
i used [ '[[', ']]' ] but it didn't work. Just write it in config.js. Is there some reason ?
i used
[ '[[', ']]' ]but it didn't work. Just write it inconfig.js. Is there some reason ?
Hi, could you please provide an example where reproduced ?
What is the current status on this issue? I'm trying to use this but it does not work correclty with posthtml-modules. Thanks in advance!
@RemyyB custom delimiters work fine in posthtml-expressions, your issue comes from posthtml-modules which currently doesn't handle expressions properly. There's a PR that'll be merged soon to fix this issue, so watch out for [email protected] 👍