This fixes #8174.  I just had to add an html_entity_decode to where it loaded the units.