BUG HTMLText whitelist considers text nodes
Minor improvement to #2853.
If a list of whitelisted elements are specified, text nodes no longer evade the whitelist
Merge pull request #3021 from tractorcow/pulls/3.1-htmltext-whitelist

BUG HTMLText whitelist considers text nodes