added docblock to helper function.
added proper espacing for quotes to session type titles.
Merge pull request #572 from stopfstedt/session-type-char-escaping

escape quotes in session type titles properly.