mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-08 05:36:09 +02:00
fix loop
This commit is contained in:
parent
9557dc9dba
commit
e1fbb1d1aa
@ -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…
x
Reference in New Issue
Block a user