html output will be cleaned by encoding function