title: PyMongo + Flask: How to render content with jinja?
body: <p>I use Flask in an application that displays some data from a Mongo database. Scrapy spider writes data. My problem is that the application displays text without a separator. How to keep indents and remove quotes?</p>
  
  <p>For example, a database entry has the following text:
  <a href="https://i.stack.imgur.com/5GQwp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5GQwp.png" alt="enter image description here"></a></p>
  
  <p>spider:</p>
  
  <pre><code>Reviews = response.css('.listing-review-text::text, .blurred.read-more::text, .response-question::text,' +
                             '.response-answer::text, .listing-review-name::text, .review_name::text').getall() 
  </code></pre>
  
  <p>jinja:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>{% if card.Reviews %}
     &lt;h3 class="font-weight-normal"&gt;Reviews&lt;/h3&gt;
     &lt;p&gt;{{card.Reviews}}&lt;/p&gt;
  {% endif %}</code></pre>
  </div>
  </div>
  </p>