Refactor code

for style.
Bug fix

I edited the code to handle a bug on the Tech Vibes event page that
occurs when there are quotation marks in the even title.