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;
|
||||
}
|
||||
|
||||
// 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)
|
||||
{
|
||||
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)
|
||||
{
|
||||
openTags.shift();
|
||||
|
|
Loading…
Reference in a new issue