HomePhabricator

Always pre-wrap code blocks

Description

Always pre-wrap code blocks

Summary: Fixes T11416. Unclear what the side-effects of this would be, so bark if you find something. Previously, we'd have to overflow and scroll, which is kind of a pain since you're hiding content on long code blocks. This just wraps long lines, and preserves line breaks globally.

Test Plan: Test feed, profile, comments, inline comments, triple backticks.

Reviewers: avivey, epriestley

Reviewed By: avivey, epriestley

Subscribers: Korvin

Maniphest Tasks: T11416

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

Details

Provenance
Chad Little <chad@phacility.com>Authored on Aug 2 2016, 6:22 PM
chadPushed on Aug 2 2016, 6:46 PM
Reviewer
avivey
Differential Revision
D16361: Always pre-wrap code blocks
Parents
rPb53d38315f3f: Fix Differental Filetree browser hotkey
Branches
Unknown
Tags
Unknown
Tasks
T11416: fixed-width-text remarkup blocks lost max-width
Build Status
Buildable 13231
Build 16955: Run Core Tests