2

replaceWith($("
" + this.innerHTML + "
"))
を
replaceWith($("
" + this.parent + "
"))