silverstripe/sapphire — pull request #1228 by robert-h-curry (2013-02-22 04:37:41+00:00)
Title: Change shortcode regex to remove endline after </html> tag

The errant endline character was appearing after the tag, this wasn't being picked up by (.*?). Normally this wouldn't be a problem except for things like $BaseURL.