Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delimiters (Angle Brackets) #9

Open
jescalan opened this issue Jul 12, 2016 · 7 comments
Open

Delimiters (Angle Brackets) #9

jescalan opened this issue Jul 12, 2016 · 7 comments
Assignees
Labels
Projects

Comments

@jescalan
Copy link
Contributor

They are parsed as html tags

@michael-ciniawsky michael-ciniawsky self-assigned this Nov 16, 2016
@michael-ciniawsky michael-ciniawsky added this to the v1.0.0 milestone Nov 16, 2016
@michael-ciniawsky
Copy link
Member

@jescalan Is there a way to solve this ?

@mrmlnc
Copy link
Member

mrmlnc commented Nov 16, 2016

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.

@jescalan
Copy link
Contributor Author

The only way to solve it is to charge the parser structure. It works in reshape, but reshape uses a different parser entirely.

@michael-ciniawsky michael-ciniawsky changed the title Can't use delimiters with angle brackets Angle Bracket Delimiters Nov 19, 2016
@michael-ciniawsky michael-ciniawsky removed this from the v1.1.0 milestone Nov 19, 2016
@michael-ciniawsky michael-ciniawsky changed the title Angle Bracket Delimiters Delimiters (Angle Brackets) Dec 21, 2016
@cy-98
Copy link

cy-98 commented Dec 15, 2020

i used [ '[[', ']]' ] but it didn't work. Just write it in config.js. Is there some reason ?

@Scrum
Copy link
Member

Scrum commented Dec 16, 2020

i used [ '[[', ']]' ] but it didn't work. Just write it in config.js. Is there some reason ?

Hi, could you please provide an example where reproduced ?

@RemyyB
Copy link

RemyyB commented Mar 14, 2022

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!

@cossssmin
Copy link
Member

@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 posthtml-modules@0.9.0 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

7 participants