prismicio/php-kit — pull request #29 by tremby (2014-03-15 03:12:18+00:00)
Title: Turn newline characters into br tags in HTML, except in pre

This patch runs nl2br over the HTML returned in Text and StructuredText's to
HTML methods, except in preformatted text.

Tests are included (the search fixture had to be changed and some unrelated
tests tweaked to accommodate those changes).