-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Nunjucks enclosed by two backtick-delimited strings fails. #2563
Labels
bug
Something isn't working
Comments
This is definitely something need to be fixed. |
I encountered the same bug while using {% asset_img img.jpg %} |
I found that this issue is caused by a latent bug. The Pull Request #2461 (commit 5134cba) made the bug easier to be realized. To fix the bug, change a regexp to be non-greedy. https://github.com/hexojs/hexo/blob/master/lib/extend/tag.js#L65
I will add test cases, and make a pull request. |
seaoak
added a commit
to seaoak/hexo
that referenced
this issue
May 17, 2017
seaoak
added a commit
to seaoak/hexo
that referenced
this issue
May 17, 2017
2 tasks
NoahDragon
pushed a commit
that referenced
this issue
May 17, 2017
NoahDragon
added a commit
that referenced
this issue
May 23, 2017
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
e.g.
will get the result like:
Any idea to solve this?
The text was updated successfully, but these errors were encountered: