1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-16 20:02:40 +01:00
phorge-phorge/src/applications/differential/render
epriestley 412fc34557 Improve inline mail snippet rendering, possibly fixing Airmail?
Summary:
Ref T10694. General improvements:

  - Remove leading empty lines from context snippets.
  - Remove trailing empty lines from context snippets.
  - If we removed everything, render a note.
  - Try using `style` instead of `<pre>`? My thinking is that maybe Airmail has weird default rules for `<pre>`, since that's the biggest / most obvious thing that's different about this element to me.

Test Plan: Viewed normal comments locally, faked a comment on an empty line in the middle of a lot of other empty lines.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10694

Differential Revision: https://secure.phabricator.com/D15864
2016-05-06 11:58:33 -07:00
..
DifferentialChangesetHTMLRenderer.php phtize all the things 2015-05-22 21:16:39 +10:00
DifferentialChangesetOneUpMailRenderer.php Improve inline mail snippet rendering, possibly fixing Airmail? 2016-05-06 11:58:33 -07:00
DifferentialChangesetOneUpRenderer.php Fix an issue with adding or updating images in unified diff view 2015-06-08 15:40:10 -07:00
DifferentialChangesetOneUpTestRenderer.php Make "Show Context" persist rendering, whitespace, encoding, etc 2015-03-05 14:03:00 -08:00
DifferentialChangesetRenderer.php Extend from Phobject 2015-06-15 18:02:27 +10:00
DifferentialChangesetTestRenderer.php Don't highlight very large files by default 2015-03-24 05:26:39 -07:00
DifferentialChangesetTwoUpRenderer.php Fix javascript interaction with right-hand-side images in two-up diff views in Differential 2016-04-01 12:54:43 -07:00
DifferentialChangesetTwoUpTestRenderer.php Make "Show Context" persist rendering, whitespace, encoding, etc 2015-03-05 14:03:00 -08:00
DifferentialRawDiffRenderer.php Extend from Phobject 2015-06-15 18:02:27 +10:00