diff --git a/states.go b/states.go index a8566e9..93bf10b 100644 --- a/states.go +++ b/states.go @@ -37,6 +37,7 @@ func lexIdent(l *Lexer) stateFn { L.Debug("stepping through lexIdent") switch { case isEscape(s): + l.next() l.next() continue case isCloseLink(s): @@ -93,6 +94,7 @@ func lexText(l *Lexer) stateFn { L.Debug("stepping through lexText") switch { case isEscape(s): + l.next() l.next() continue case isOpenLink(s):