mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
fix loop
This commit is contained in:
parent
9557dc9dba
commit
e1fbb1d1aa
1 changed files with 3 additions and 2 deletions
|
@ -233,9 +233,10 @@ function getHTMLFromAtext(pad, atext, authorColors)
|
|||
// close all tags upto the outer most
|
||||
if (outermostTag != -1)
|
||||
{
|
||||
for (i=0; i <= outermostTag; outermostTag--)
|
||||
while ( outermostTag >= 0 )
|
||||
{
|
||||
emitCloseTag(openTags[0])
|
||||
emitCloseTag(openTags[0]);
|
||||
outermostTag--;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue