Fix export to html 'd' and 'h' po issue