Fixed text() and html() behavior