@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Allow users to set a line-height in their monospaced font preference

Summary: Ref T10959. This does not fix the problem because the `.differential-diff td` rule is still stronger, but it does let you choose a more compact or breezy style for remarkup blocks and pastes.

Test Plan:
- Set font to `24px / 48px impact`.
- Viewed a paste, saw lovely readable text.
- Viewed an inline code block which was very easy on the eyes.

{F1310420}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10959

Differential Revision: https://secure.phabricator.com/D15904

+1 -1
+1 -1
src/applications/settings/storage/PhabricatorUserPreferences.php
··· 113 113 114 114 public static function filterMonospacedCSSRule($monospaced) { 115 115 // Prevent the user from doing dangerous things. 116 - return preg_replace('/[^a-z0-9 ,".]+/i', '', $monospaced); 116 + return preg_replace('([^a-z0-9 ,"./]+)i', '', $monospaced); 117 117 } 118 118 119 119 }