Skip to content


Subversion checkout URL

You can clone with
Download ZIP

Avoid rewinding previous inline when auto-linking

When a bit like "" is processed, first the emphasis is
rendered, then the 1 is output verbatim. When the `@` is encountered,
Redcarpet tries to find the "local part" of the address and stops when
it encounters an invalid char (i.e. here the `!`).

The problem is that when it searches for the local part, Redcarpet
rewinds the characters but here, the emphasis is already rendered so
the previous HTML tag is rewinded as well and is not correctly closed.
latest commit a6c759d7e7
@danlec danlec authored robin850 committed
Failed to load latest commit information.
redcarpet Avoid rewinding previous inline when auto-linking
Something went wrong with that request. Please try again.