Fix for issue 285: need to reset the state for regular emphasis when unwinding in toItalicsAndBold.
This commit is contained in:
parent
64045149fa
commit
f7bc32eefb
1 changed files with 1 additions and 0 deletions
|
|
@ -1395,6 +1395,7 @@ class Markdown implements MarkdownInterface {
|
|||
if (strlen($token_stack[0]) == 1) {
|
||||
$text_stack[1] .= array_shift($token_stack);
|
||||
$text_stack[0] .= array_shift($text_stack);
|
||||
$em = '';
|
||||
}
|
||||
// Closing strong marker:
|
||||
array_shift($token_stack);
|
||||
|
|
|
|||
Loading…
Reference in a new issue