1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-22 05:20:56 +01:00

Monospaced preferences now display in Remarkup areas

Summary: Fixes T6109, Ref T6654. Correctly clobbers the Remarkup defaults.

Test Plan:
Tested with Copperplate!

{F239347}

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T6109, T6654

Differential Revision: https://secure.phabricator.com/D10905
This commit is contained in:
Chad Little 2014-11-27 07:04:01 -08:00
parent 013e953a40
commit 48e90ca7d5

View file

@ -262,10 +262,11 @@ final class PhabricatorStandardPageView extends PhabricatorBarePageView {
return hsprintf( return hsprintf(
'%s<style type="text/css">'. '%s<style type="text/css">'.
'.PhabricatorMonospaced, '. '.PhabricatorMonospaced, '.
'.phabricator-remarkup .remarkup-code-block { font: %s; } '. '.phabricator-remarkup .remarkup-code-block '.
'.remarkup-code { font: %s; } '.
'.platform-windows .PhabricatorMonospaced, '. '.platform-windows .PhabricatorMonospaced, '.
'.platform-windows .phabricator-remarkup '. '.platform-windows .phabricator-remarkup '.
'.remarkup-code-block { font: %s; }'. '.remarkup-code-block .remarkup-code { font: %s; }'.
'</style>%s', '</style>%s',
parent::getHead(), parent::getHead(),
phutil_safe_html($monospaced), phutil_safe_html($monospaced),