We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have a heading like this
## 1.1 aaa/bbb after render it became <h2 id="1-1-aaa-x2F-bbb"><a href="#1-1-aaa-x2F-bbb" class="headerlink" title="1.1 aaa/bbb"></a>1.1 aaa/bbb</h2>
## 1.1 aaa/bbb
<h2 id="1-1-aaa-x2F-bbb"><a href="#1-1-aaa-x2F-bbb" class="headerlink" title="1.1 aaa/bbb"></a>1.1 aaa/bbb</h2>
it should be <h2 id="1-1-aaa-bbb" ><a href="#1-1-aaa-bbb" class="headerlink" title="1.1 aaa/bbb"></a>1.1 aaa/bbb</h2>
<h2 id="1-1-aaa-bbb" ><a href="#1-1-aaa-bbb" class="headerlink" title="1.1 aaa/bbb"></a>1.1 aaa/bbb</h2>
fixed by modifying the renderer.js file
renderer.js
// use unescaped heading text heading(escaped_text, level, text) { const { anchorAlias, headerIds, modifyAnchors } = this.options; const { _headingId } = this; ... }
The text was updated successfully, but these errors were encountered:
It's escaped here:
hexo-renderer-marked/lib/renderer.js
Line 193 in f134063
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
I have a heading like this
## 1.1 aaa/bbb
after render it became
<h2 id="1-1-aaa-x2F-bbb"><a href="#1-1-aaa-x2F-bbb" class="headerlink" title="1.1 aaa/bbb"></a>1.1 aaa/bbb</h2>
it should be
<h2 id="1-1-aaa-bbb" ><a href="#1-1-aaa-bbb" class="headerlink" title="1.1 aaa/bbb"></a>1.1 aaa/bbb</h2>
fixed by modifying the
renderer.js
file// use unescaped heading text
heading(escaped_text, level, text) {
const { anchorAlias, headerIds, modifyAnchors } = this.options;
const { _headingId } = this;
...
}
The text was updated successfully, but these errors were encountered: