html_decompiler: increased stability in case tag is not a string