diff --git a/comp/src/gb.markdown/.src/Markup.module b/comp/src/gb.markdown/.src/Markup.module index 3ed552cd4..5f552a808 100644 --- a/comp/src/gb.markdown/.src/Markup.module +++ b/comp/src/gb.markdown/.src/Markup.module @@ -675,7 +675,7 @@ ENTER_MARKUP: If Not ["img", "hr", "br"].Exist(sPattern) Then If $aMarkup.Count = 0 Then Error.Raise("Mismatched markup: ") - Else If LCase($aMarkup[$aMarkup.Max]) <> LCase(Mid$(sPattern, 2)) Then + Else If LCase($aMarkup[$aMarkup.Max]) <> LCase(sPattern) Then Error.Raise("Mismatched markup: against <" & $aMarkup[$aMarkup.Max] & ">") Endif sResult &= ""