title: Django - putting HTML tags inside blocks of text subject to translation
body: <p>I am translating my web site from English into Russian (using Django 1.9) and have screened the <a href="https://docs.djangoproject.com/en/1.10/topics/i18n/translation/#std:templatetag-blocktrans" rel="nofollow noreferrer">doc</a> several times, and I still can't solve the issue</p>
  
  <p>I have the following snippet in my template:</p>
  
  <pre><code>{% blocktrans %}
       I have &lt;strong&gt;{{apple_count}}&lt;/strong&gt; apples
  {% endblocktrans %}
  </code></pre>
  
  <p>After running <code>makemessages</code>, my <code>.po</code> file looks like this:</p>
  
  <pre><code>msgid "I have &lt;strong&gt;%(apple_count)d&lt;/strong&gt; apples"
  msgstr "У меня есть %(apple_count)d яблок"
  </code></pre>
  
  <p>The problem is that after running the <code>compilemessages</code> command, the phrase stays in English in Russian version of the web site (in other words, the phrase is not translated into Russian). Please note that <strong>the problem lies in <code>&lt;strong&gt;</code> tag. If I remove it from the template, all works just fine</strong>. 
  I've also tried to remove <code>&lt;strong&gt;</code> from the .po automatically-generated msgid so that the .po file would like this:</p>
  
  <pre><code>msgid "I have %(apple_count)d apples"
  msgstr "У меня есть %(apple_count)d яблок"
  </code></pre>
  
  <p>...but this does not help either. </p>
  
  <p>Does Django provide a way to include HTML tags in translation phrases? And if not, what is the cleanest work-around ?</p>