Allow specifying ?force-text-type=html to Markdown-capable API resources.

Review Request #6406 — Created Oct. 5, 2014 and submitted

Information

Review Board
release-2.0.x
3843797...

Reviewers

Many of our resources support passing ?force-text-type=plain|markdown to
convert to either plain text or Markdown format. Now, these also support
html to render to HTML.

This is the first step to moving entirely to server-side rendering of
Markdown content.

All unit tests pass.

Tested manually with a couple review requests.

reviewbot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/webapi/tests/test_review_request_draft.py
        reviewboard/webapi/tests/mixins_review.py
        reviewboard/webapi/mixins.py
        reviewboard/webapi/tests/mixins_comment.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/webapi/tests/test_review_request_draft.py
        reviewboard/webapi/tests/mixins_review.py
        reviewboard/webapi/mixins.py
        reviewboard/webapi/tests/mixins_comment.py
    
    
  2. 
      
david
  1. Ship It!

  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-2.0.x (d5cd0c4)