implement simple decoration rules for html output