discourse/discourse — pull request #641 by mshappe (2013-04-03 21:39:31+00:00)
Title: Fix pretty text vs libxml 2 9 0

pretty_text_spec.rb was comparing against exact string matches. libxmll2 2.9.0 changed the way it outputs, inserting new lines and indents where it previously left some things inline.

The spec has been revised to match a regular expression that fits both 2.7.6 and 2.9.0 output.