Fix html safe strings.
Fix barcode generation.