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

parsing code error in backticks #4220

Closed
xxxxnnxxxx opened this issue Apr 5, 2020 · 3 comments · Fixed by #4229
Closed

parsing code error in backticks #4220

xxxxnnxxxx opened this issue Apr 5, 2020 · 3 comments · Fixed by #4229

Comments

@xxxxnnxxxx
Copy link

xxxxnnxxxx commented Apr 5, 2020

{{7*7}} ---> 49
{{7*7}} ---> 49

this like a template injection
hexo_code
hexo_display
hexo-version

@xxxxnnxxxx xxxxnnxxxx changed the title parsing code error in backticks ... parsing code error in backticks Apr 5, 2020
@SukkaW
Copy link
Member

SukkaW commented Apr 5, 2020

@stevenjoezhang @seaoak

It seems that the swig tag inside backtick code filter is not properly escaped. Should we bring up a new filter to fix this?

@stevenjoezhang
Copy link
Member

I think it is necessary to discuss this issue. Here's another one about backtick code filter

#4190

seaoak added a commit to seaoak/hexo that referenced this issue Apr 8, 2020
@seaoak
Copy link
Member

seaoak commented Apr 8, 2020

I'm trying to make a small patch for this issue (and the issue #4190).

#4229

@SukkaW @stevenjoezhang
Could you taste it?

@stevenjoezhang stevenjoezhang linked a pull request Apr 10, 2020 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants