github/hubot-scripts — pull request #1593 by ElliottLandsborough (2014-10-02 10:03:17+00:00)
Title: Fix title/description functionality

Only get the first title/description, remove all newlines, remove all superfluous white space.

In an ideal world this would not be necessary but many sites have newlines/spaces in their titles. At the time of writing ello.co has 83 title tags on its home page - most of which are in the body.

![titlefail](https://cloud.githubusercontent.com/assets/1583854/4489407/acebaaa4-4a1a-11e4-90dd-ad0ac574879f.png)