I found the same problem while working on Wordpress and strange thing I realised and never found the solution for that yet. That if you are using text field and adding html tag with link or quoate it will result like what is your issue. However it will store value properly into the database.
I found by using text area instead of text fild this resolve the issue. To lower the height for textarea you always can use row parameter. This is the only solution I found but I am really looking some real and solid solution from you experts.