• 
      

    Allow force-text-type= to apply to custom fields in extra_data.

    Review Request #6420 — Created Oct. 8, 2014 and submitted

    Information

    Review Board
    release-2.0.x
    8218091...

    Reviewers

    Review request and draft API resources now show custom review request
    text field values in the requested text type, matching the behavior of
    the description, testing_done, etc. fields.

    This is done by having MarkdownFieldsMixin own the
    serialize_extra_data_field function. It then asks the specific API
    resource class to determine if a given field in extra_data supports
    Markdown. If so, that field's text will be normalized.

    ReviewRequestResource and ReviewRequestDraftResource both provide this
    function and check the given field to see if it's Markdown-capable.

    Tested by hand and saw that force-text-type= applied to the custom fields, but
    no others.

    david
    1. Ship It!

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