A simpler solution would probably be to change the ``format`` to ``full_html``