changed .html() to .text() in edit