Fixes tests

This commit is contained in:
yuin 2019-12-20 11:12:24 +09:00
parent e0171097bf
commit 2aab93edb4
2 changed files with 3 additions and 0 deletions

View file

@ -210,4 +210,5 @@ Foo|Bar
<td>Dyne</td> <td>Dyne</td>
</tr> </tr>
</tbody> </tbody>
</table>
//= = = = = = = = = = = = = = = = = = = = = = = =// //= = = = = = = = = = = = = = = = = = = = = = = =//

View file

@ -262,6 +262,7 @@ func FindClosure(bs []byte, opener, closure byte, codeSpan, allowNesting bool) i
if bs[i] == '`' { if bs[i] == '`' {
codeSpanCloser++ codeSpanCloser++
} else { } else {
i--
break break
} }
} }
@ -276,6 +277,7 @@ func FindClosure(bs []byte, opener, closure byte, codeSpan, allowNesting bool) i
if bs[i] == '`' { if bs[i] == '`' {
codeSpanOpener++ codeSpanOpener++
} else { } else {
i--
break break
} }
} }