Derestrict allowed characters in inline_hd (ref #277)