Fixes #2615

Attributes of unrecognized tags were being lost
during xml to html translation.