HomePhabricator

Make two small fixes to the quoting feature

Description

Make two small fixes to the quoting feature

Summary:
Ref T4119.

  • Trim newlines off the quoted text before quoting it; otherwise we can end up with a staircase of ">" at the end of a quote.
  • Allow image macros to have leading whitespace, so multiple consecuitive quoted macros work properly.

Test Plan: I QUOTED MACROS A LOT OF TIMES

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T4119

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

Details

Provenance
epriestleyAuthored on
epriestleyPushed on May 5 2014, 6:23 PM
Reviewer
chad
Differential Revision
D8983: Make two small fixes to the quoting feature
Parents
rP2b4c551b0ef9: Provide a global router for Ajax requests
Branches
Unknown
Tags
Unknown
Tasks
T4119: Button to automatically copy & quote text

Event Timeline