Optimize HTML safe engine
Update publish docs
Remove list_to_map conversion