Index: trunk/parsers/wikidom/lib/es/es.Content.js |
— | — | @@ -592,7 +592,8 @@ |
593 | 593 | ? es.Content.htmlCharacters[right[0]] : right[0]; |
594 | 594 | left = right; |
595 | 595 | } |
596 | | - if ( right ) { |
| 596 | + // close all remaining tags at the end of the content |
| 597 | + if ( !rightPlain && right ) { |
597 | 598 | for ( j = 1; j < right.length; j++ ) { |
598 | 599 | out += es.Content.renderAnnotation( 'close', right[j], stack ); |
599 | 600 | } |