erming/shout — pull request #253 by codl (2014-10-20 11:47:29+00:00)
Title: fix urls preventing proper closure of bold and color tags

At init, if a message contains an url that ends at the same place as both a color tag and a bold tag, then the outer color or bold tag will not be closed properly.

In the screenshot below, bold was set, a colour was set, then the message ended with a url. As a result the bold tag was not closed and the rest of the log is bold (and pushed to the left somehow)
![0jgdsw](https://cloud.githubusercontent.com/assets/315139/4700516/e5ccbea8-584d-11e4-8223-b084949a38ff.png)

This patch fixes this.