fix export so no tags are omitted
add some documentation for styling attributes export
some more docs for attribute export and cleanup empty lines
be more clear about the value in propVals
workaround so that at least one tag stays open if its the outermost tag. saves some space in the output
useless var statement (function scope)
refactor export of style attributes
1. mark all attributes that are used
2. find the outermost attribute that is no longer used
3. close all tags upto this attribute
4. open all tags that are used and not open
(5. close all open tags)
remove now unused code
function scope: variables only need to be declared once
remove unused require
fix loop
Merge branch 'fix-exporthtml-styling-tags' of https://github.com/webzwo0i/etherpad-lite into develop
Merge pull request #2032 from webzwo0i/fix-exporthtml-styling-tags

Fix exporthtml styling tags
Merge branch 'develop' of github.com:ether/etherpad-lite into develop
Remove duplicate doc entry for setHTML()
Merge remote-tracking branch 'upstream/develop' into dont-die-on-bad-html