markd
markd copied to clipboard
Lesser-than sign in code block isn't escaped
This is a bug I detected while using the Crystal documentation generator, but since that uses markd, I'm assuming a bug report here makes more sense.
Creating documentation for the following code
# `<test`
module Test
end
inserts <code><test</code> into the final documentation. Expected behavior would be transforming < into < inside code tags.
This is actually a bug in the Crystal compiler's usage of this shard: https://github.com/crystal-lang/crystal/issues/11685 It has been fixed since 1.3.1.
markd itself is not affected, it should properly escape inline code.
Oh, must have missed that issue. Thank you, this can be closed then.