azu / gitbook-plugin-include-codeblock

GitBook plugin for including file
Other
40 stars 25 forks source link

non-unique id is used for the link in quoteblock #28

Closed lwchkg closed 8 years ago

lwchkg commented 8 years ago

Here's some generated code in the generated code. Note <a id="test1.vb">, where test1.vb can be imported more than once.

<div class="quoteblock">
<blockquote>
<div class="paragraph">
<p class="comments-section"><a id="test1.vb"></a><a href="test1.vb">test1.vb</a><div class="comments-icon"><div class="marker">+</div></div></p>
</div>
</blockquote>
</div>
lwchkg commented 8 years ago

Tested in https://lwchkg.gitbooks.io/testing/content/asciidoc_testing.html At least the second id attributes should be changed. The second id should be anything else but not "test1.vb" (e.g. "test1.vb[1]" is okay).

Anyway, if you like a pulling I can write it for you.

azu commented 8 years ago

It seem resolved by template options #30