Added formatted='false' attribute generation when necessary