Fix input fields that are unable to have an apostrophe.

Print the HTML escaped version of the value when printing an input box.

fixes #33.