ImageLoader: expand silly symbol table tricks for `html_enc`

This way we can get proper quoting in the tag attributes,instead ofmy
silly incorrect version.