-
-
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
Can't use backtick code block in "blockquote" tag plugin #2318
Comments
seaoak
pushed a commit
to seaoak/hexo
that referenced
this issue
Dec 18, 2016
When backtick code block(s) exist as contents of a "blockquote" tag plugin, each code block is translated to a string "undefined" in HTML (Issue hexojs#2318). In analyzing markdown source text, while the replacement of these elements with placeholders are nesting, recoveries from placeholders are executed only once. So I modify to repeat the recovery process until all placeholders are recovered.
seaoak
pushed a commit
to seaoak/hexo
that referenced
this issue
Dec 18, 2016
When backtick code block(s) exist as contents of a "blockquote" tag plugin, each code block is translated to a string "undefined" in HTML (Issue hexojs#2318). In analyzing markdown source text, while the replacement of these elements with placeholders are nesting, recoveries from placeholders are executed only once. So I modify to repeat the recovery process until all placeholders are recovered.
seaoak
pushed a commit
to seaoak/hexo
that referenced
this issue
Dec 19, 2016
When backtick code block(s) exist as contents of a "blockquote" tag plugin, each code block is translated to a string "undefined" in HTML (Issue hexojs#2318). In analyzing markdown source text, while the replacement of these elements with placeholders are nesting, recoveries from placeholders are executed only once. So I modify to repeat the recovery process until all placeholders are recovered.
Move discuss to the PR. #2321 |
seaoak
added a commit
to seaoak/hexo
that referenced
this issue
Oct 11, 2019
When backtick code block(s) exist as contents of a "blockquote" tag plugin, each code block is translated to a string "undefined" in HTML (Issue hexojs#2318). In analyzing markdown source text, while the replacement of these elements with placeholders are nesting, recoveries from placeholders are executed only once. So I modify to repeat the recovery process until all placeholders are recovered.
curbengh
pushed a commit
to seaoak/hexo
that referenced
this issue
Oct 13, 2019
When backtick code block(s) exist as contents of a "blockquote" tag plugin, each code block is translated to a string "undefined" in HTML (Issue hexojs#2318). In analyzing markdown source text, while the replacement of these elements with placeholders are nesting, recoveries from placeholders are executed only once. So I modify to repeat the recovery process until all placeholders are recovered.
SukkaW
pushed a commit
that referenced
this issue
Oct 13, 2019
* test(backtick): update comment * Allow backtick code block in "blockquote" tag plugin (#2318) When backtick code block(s) exist as contents of a "blockquote" tag plugin, each code block is translated to a string "undefined" in HTML (Issue #2318). In analyzing markdown source text, while the replacement of these elements with placeholders are nesting, recoveries from placeholders are executed only once. So I modify to repeat the recovery process until all placeholders are recovered. * require assert
thom4parisot
pushed a commit
to thom4parisot/hexo
that referenced
this issue
Jan 17, 2020
hexojs#2321) * test(backtick): update comment * Allow backtick code block in "blockquote" tag plugin (hexojs#2318) When backtick code block(s) exist as contents of a "blockquote" tag plugin, each code block is translated to a string "undefined" in HTML (Issue hexojs#2318). In analyzing markdown source text, while the replacement of these elements with placeholders are nesting, recoveries from placeholders are executed only once. So I modify to repeat the recovery process until all placeholders are recovered. * require assert
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment Info
For BUG
When a backtick code block exists as contents of a "blockquote" tag plugin,
it is translated to a string "undefined" in HTML.
For example, the following markdown text in a post:
is translated to HTML as follows:
By the way, other inline markdown syntax is translated well.
For example, the following markdown text in a post:
is translated to HTML as follows:
I think this behavior is a bug.
p.s. I have a patch for this issue (may make a pull request).
The text was updated successfully, but these errors were encountered: