fixed html rendering with attributes like "class_"