• 
      

    Fix trimming trailing paragraphs in Markdown that contain elements.

    Review Request #6671 — Created Dec. 3, 2014 and submitted

    Information

    Review Board
    release-2.0.x
    f40f615...

    Reviewers

    The code for trimming empty paragraphs didn't consider that a paragraph
    may have children but not text. It now checks for any child nodes before
    determining whether to trim.

    This actually impacted the test run in /r/6670/. Unit tests pass with this.

    reviewbot
    1. Tool: PEP8 Style Checker
      Processed Files:
          reviewboard/reviews/markdown_extensions.py
      
      
      
      Tool: Pyflakes
      Processed Files:
          reviewboard/reviews/markdown_extensions.py
      
      
    2. 
        
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-2.0.x (9a0a0e2)