mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
some more docs for attribute export and cleanup empty lines
This commit is contained in:
parent
70c51d731b
commit
a534b1ec22
1 changed files with 17 additions and 13 deletions
|
@ -168,6 +168,8 @@ function getHTMLFromAtext(pad, atext, authorColors)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// is called when an attribute is in ENTER or STAY state and saves
|
||||||
|
// a reference to it so it can be closed in order
|
||||||
function emitOpenTag(i)
|
function emitOpenTag(i)
|
||||||
{
|
{
|
||||||
openTags.unshift(i);
|
openTags.unshift(i);
|
||||||
|
@ -184,6 +186,8 @@ function getHTMLFromAtext(pad, atext, authorColors)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// this closes an open tag and removes its reference from openTags
|
||||||
|
// it is not directly called but via orderdCloseTags
|
||||||
function emitCloseTag(i)
|
function emitCloseTag(i)
|
||||||
{
|
{
|
||||||
openTags.shift();
|
openTags.shift();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue