Handle multi-line thesis names correctly.

Enable thesis name containing line break.