#930: Allow strings in generate_page_title() function.

Thanks, Koos, for the idea and patch!