Page MenuHomePhabricator

Process Remarkup in text and HTML email bodies appropriately
ClosedPublic

Authored by lpriestley on Nov 15 2014, 7:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 21, 9:30 PM
Unknown Object (File)
Sat, Dec 21, 4:38 PM
Unknown Object (File)
Thu, Dec 19, 1:45 PM
Unknown Object (File)
Thu, Dec 19, 1:45 PM
Unknown Object (File)
Thu, Dec 19, 1:45 PM
Unknown Object (File)
Thu, Dec 19, 1:45 PM
Unknown Object (File)
Thu, Dec 19, 1:45 PM
Unknown Object (File)
Tue, Dec 17, 10:13 AM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Maniphest Tasks
Restricted Maniphest Task
Commits
rPHU9076d7ccdaaa: Process Remarkup in text and HTML email bodies appropriately
Summary

Ref T2617, adding inline styles to handle html email objects

Test Plan

Add code block to a Maniphest comment. Email should show pretty yellow background for code block.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

lpriestley retitled this revision from to Process Remarkup in text and HTML email bodies appropriately.
lpriestley updated this object.
lpriestley edited the test plan for this revision. (Show Details)
lpriestley added a reviewer: epriestley.
lpriestley added a task: Restricted Maniphest Task.
epriestley edited edge metadata.

Some style nitpicks inline.

src/markup/engine/remarkup/blockrule/PhutilRemarkupCodeBlockRule.php
135–145

Some of these have inconsistent formatting, like this one has a huge indent on the 'style' attribute. This is nitpicky and we should really write lint rules for it, but consider making indentation and layout more consistent with the standard style:

$var = array(
  'attr' => 'value',
);
src/markup/engine/remarkup/blockrule/PhutilRemarkupNoteBlockRule.php
75–76

For consistency, prefer to write this as:

} else if {

Instead of:

} else
if {
This revision is now accepted and ready to land.Nov 15 2014, 8:09 PM
lpriestley edited edge metadata.

Styling updates, per standards

Something got lost in the commit shuffle. More styling updates.

This revision was automatically updated to reflect the committed changes.