Address #387: prevent NPE when adding markup to <title> elements
Merge pull request #410 from tipabu/fix-title-html

Address #387: prevent NPE when adding markup to <title> elements