fix html outputs in idioms to be exact