pull/2032/head
webzwo0i 2013-12-08 13:53:26 +01:00
parent 9557dc9dba
commit e1fbb1d1aa
1 changed files with 3 additions and 2 deletions

View File

@ -233,9 +233,10 @@ function getHTMLFromAtext(pad, atext, authorColors)
// close all tags upto the outer most // close all tags upto the outer most
if (outermostTag != -1) if (outermostTag != -1)
{ {
for (i=0; i <= outermostTag; outermostTag--) while ( outermostTag >= 0 )
{ {
emitCloseTag(openTags[0]) emitCloseTag(openTags[0]);
outermostTag--;
} }
} }