phorge/src
epriestley 67498f3334 Restore phutil_split_lines() to Differential
Summary:
Same as D3759 with a fix:

Previously, we would insert `null` to indicate a line that doesn't exist on one side of a diff, and then implode on "\n", so we'd get "\n" as a result.

In D3759, we'd insert `null` but implode on empty string, and get nothing as a result.

When a placeholder null is present, explicitly insert a newline.

Test Plan: D3759 plus examined a diff with removed lines on the left side prior to new lines on the right side.

Reviewers: vrana

Reviewed By: vrana

CC: aran

Differential Revision: https://secure.phabricator.com/D3765
2012-10-20 07:24:27 -07:00
..
aphront Allow blog resources to be served without Celerity 2012-10-17 08:37:05 -07:00
applications Restore phutil_split_lines() to Differential 2012-10-20 07:24:27 -07:00
docs Support simple table Remarkup in Phabricator 2012-10-17 14:18:38 -07:00
infrastructure Fix static variable usage in Lisk 2012-10-20 05:04:38 -07:00
rsrc Use sprites for (nearly) all application icons 2012-08-14 14:23:55 -07:00
view Provide assist for Remarkup table 2012-10-17 18:15:29 -07:00
__celerity_resource_map__.php Provide assist for Remarkup table 2012-10-17 18:15:29 -07:00
__phutil_library_init__.php Distinguish between aphront and phabricator. 2011-01-22 17:45:28 -08:00
__phutil_library_map__.php Allow blog resources to be served without Celerity 2012-10-17 08:37:05 -07:00