Fixed incorrect replacement of <button> tags