some more docs for attribute export and cleanup empty lines
parent
70c51d731b
commit
a534b1ec22
|
@ -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…
Reference in New Issue