killercup / grock

Grock converts your nicely commented code into a gorgeous documentation where comments and code live happily next to each other.
http://killercup.github.io/grock/
MIT License
38 stars 13 forks source link

URLs get destroyed by <span artifact #7

Closed killercup closed 10 years ago

killercup commented 10 years ago

Test case:

###
# # Known Doc Tags
#
# Code from [`groc/lib/doc_tags`][1]
#
# @copyright Ian MacLeod and groc contributors
#
# [1]: https://github.com/nevir/groc/blob/b626e45ebf/lib/doc_tags.coffee
###

The second paragraph renders as

<p>Code from <a href="https://github.com/nevir/groc/blob/b626e45ebf/lib/utils.coffee&lt;/span"><code>groc/lib/utils</code></a></p>

Because auf the &lt;/span at the end of the URL, it'll be a 404.