Make linkifyReviewRequests and linkifyBugs produce markdown output.

Review Request #4491 — Created Aug. 27, 2013 and submitted

Information

Review Board
master

Reviewers

Make linkifyReviewRequests and linkifyBugs produce markdown output.

This change adds a 'markdown' parameter to the review requests and bugs linkify
functions that enables them to produce output in markdown format (as opposed to
HTML).

While I was doing this, I noticed that writing "issue #2, issue #4" would
include the comma in the first bug number link. I've fixed the regex to handle
this case properly (commas are pretty unlikely to be part of a bug number), and
added a relevant test.
- Used this in conjuction with the markdown changes.
- Ran js-tests.
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
      Ignored Files:
        reviewboard/static/rb/js/utils/linkifyUtils.js
        reviewboard/static/rb/js/utils/tests/linkifyUtilsTests.js
    
    
  2. 
      
reviewbot
  1. This is a review from Review Bot.
      Tool: Pyflakes
      Processed Files:
      Ignored Files:
        reviewboard/static/rb/js/utils/linkifyUtils.js
        reviewboard/static/rb/js/utils/tests/linkifyUtilsTests.js
    
    
  2. 
      
chipx86
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to master (a2a6df0).