keep the values of input data when we use inserting html mode(fixes #3413)

keep the values of input data when we use inserting html mode(fixes #3413)