From ef320613875e849e614471f02cd339f956f3e20c Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 28 Mar 2016 09:10:05 -0700 Subject: [PATCH] Give emphasized text an italic style inside normal-style headers inside italic-style blockquotes in Remarkup Summary: Fixes T10686. Test Plan: {F1193658} Reviewers: chad Reviewed By: chad Maniphest Tasks: T10686 Differential Revision: https://secure.phabricator.com/D15532 --- webroot/rsrc/css/core/remarkup.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/webroot/rsrc/css/core/remarkup.css b/webroot/rsrc/css/core/remarkup.css index 7b537f5d67..2313939f4c 100644 --- a/webroot/rsrc/css/core/remarkup.css +++ b/webroot/rsrc/css/core/remarkup.css @@ -182,6 +182,8 @@ } .phabricator-remarkup blockquote em { + /* In blockquote bodies, default text is italic so emphasized text should + be normal. */ font-style: normal; } @@ -190,6 +192,12 @@ padding-bottom: 4px; } +.phabricator-remarkup blockquote div.remarkup-reply-head em { + /* In blockquote headers, default text is normal so emphasized text should + be italic. See T10686. */ + font-style: italic; +} + .phabricator-remarkup blockquote div.remarkup-reply-head .phui-tag-core { background-color: transparent;