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 pull request #2032 from webzwo0i/fix-exporthtml-styling-tags

Fix exporthtml styling tags