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

[docs] Fix syntac error #4961

Merged
merged 1 commit into from
Sep 24, 2015
Merged

[docs] Fix syntac error #4961

merged 1 commit into from
Sep 24, 2015

Conversation

iamchenxin
Copy link
Contributor

Split {{ in example code to avoid an Exception in jekyll.

Liquid Exception: Variable '{{' was not properly terminated with regexp: /}}/ in docs/10.1-animation.md

Split {{ in example code to avoid an Exception in jekyll.
> Liquid Exception: Variable '{{' was not properly terminated with regexp: /\}\}/ in docs/10.1-animation.md
@zpao
Copy link
Member

zpao commented Sep 24, 2015

Thanks. The Liquid preprocessing can be annoying and I always forget about this. In the past we've just done {{"{{"}} to make Liquid print the literal double brace.

zpao added a commit that referenced this pull request Sep 24, 2015
@zpao zpao merged commit 4b6e5d0 into facebook:master Sep 24, 2015
@chargeOne
Copy link

?

@zpao
Copy link
Member

zpao commented Sep 28, 2015

@zhuyan730 there are issues rendering {{ in Jekyll due to its parser which runs before markdown processing. This avoids it.

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

Successfully merging this pull request may close these issues.

None yet

4 participants