Page MenuHomePhabricator

Put cows and figlet bannners in <pre> in HTML mail bodies
ClosedPublic

Authored by epriestley on Oct 9 2015, 3:01 AM.
Tags
None
Referenced Files
F14030820: D14248.diff
Sat, Nov 9, 7:02 AM
F13997550: D14248.diff
Thu, Oct 24, 5:04 AM
F13994296: D14248.id34399.diff
Wed, Oct 23, 5:11 AM
F13981523: D14248.id34400.diff
Oct 19 2024, 5:08 PM
F13967966: D14248.id.diff
Oct 16 2024, 5:29 PM
Unknown Object (File)
Sep 28 2024, 3:46 AM
Unknown Object (File)
Sep 28 2024, 3:42 AM
Unknown Object (File)
Sep 28 2024, 3:41 AM
Subscribers

Details

Summary

Fixes T9538. Ref T9408. cowsay and figlet Remarkup rules are being mangled in HTML mail right now. Put them in <pre> to unmangle them.

Test Plan

Sent myself a cow + figlet in mail.

Used bin/mail show-outbound --id ... --dump-html > dump.html + open that HTML file in Safari to preview HTML mail.

Saw linebreaks and monospaced formatting.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Put cows and figlet bannners in <pre> in HTML mail bodies.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
____________ < amoozing > ------------ \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
This revision is now accepted and ready to land.Oct 9 2015, 3:02 AM
This revision was automatically updated to reflect the committed changes.
_________________________________ < OooOOoooo!! Happy Halloween!! > --------------------------------- \ ,+*^^*+___+++_ \ ,*^^^^ ) \ _+* ^**+_ \ +^ _ _++*+_+++_, ) _+^^*+_ ( ,+*^ ^ \+_ ) { ) ( ,( ,_+--+--, ^) ^\ { (@) } f ,( ,+-^ __*_*_ ^^\_ ^\ ) {:;-/ (_+*-+^^^^^+*+*<_ _++_)_ ) ) / ( / ( ( ,___ ^*+_+* ) < < \ U _/ ) *--< ) ^\-----++__) ) ) ) ( ) _(^)^^)) ) )\^^^^^))^*+/ / / ( / (_))_^)) ) ) ))^^^^^))^^^)__/ +^^ ( ,/ (^))^)) ) ) ))^^^^^^^))^^) _) *+__+* (_))^) ) ) ))^^^^^^))^^^^^)____*^ \ \_)^)_)) ))^^^^^^^^^^))^^^^) (_ ^\__^^^^^^^^^^^^))^^^^^^^) ^\___ ^\__^^^^^^))^^^^^^^^)\\ ^^^^^\uuu/^^\uuu/^^^^\^\^\^\^\^\^\^\ ___) >____) >___ ^\_\_\_\_\_\_\) ^^^//\\_^^//\\_^ ^(\_\_\_\) ^^^ ^^ ^^^ ^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ ( H ) a ) v ) e ) ( A ) n ) ( U ) n ) r ) e ) g ) r ) e ) t ) t ) a ) b ) l ) e ) ( B ) o ) x ) i ) n ) g ) ( D ) a ) y ) ! ) \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/

lol - I must say I was disappointed to discover that the ghost font wasn't installed:

Screen Shot 2015-10-08 at 11.07.41 PM.png (412×2 px, 78 KB)

That is a sweet font!

I'm not sure what the license is for the library at java.de so I'm hesitant to just dump them into externals/ and redistribute them.

We should also have some kind of "list of installed cows" and "list of installed figlet fonts" UI somewhere.

put a fax icon next to the meme icon in the remarkup bar, pops a dialog with installed choices

I was going to diff up a change but had mucked up so much of the mercurial related code that I set it aside (and I'm not super familiar with using git) -- but the resources/cows/custom and resources/figlet/custom folders are not in the .gitignore yet.

That is a sweet font!

I'm not sure what the license is for the library at java.de so I'm hesitant to just dump them into externals/ and redistribute them.

I was referring to being usable here on secure.phabricator.com -- I wouldn't expect anything outside of the OG fonts/cows to ship with Phabricator. That aside, the lack of licensing information would give cause to avoid it either way.