1. Raffaele Salmaso
  2. django-rosetta

Commits

Marco Bonetti  committed 142f0df Merge

Merge pull request #8 from dboczek/develop

thanks.

  • Participants
  • Parent commits b6b89d8, c9d8797
  • Branches default

Comments (0)

Files changed (1)

File rosetta/templates/rosetta/pofile.html

View file
                                 </div>
                                 
                                 {% if message.msgctxt %}
-                                    <span class="context">{% trans "Context hint" %}: {{message.msgctxt}}</span>
+                                    <span class="context">{% trans "Context hint" %}: {{message.msgctxt|safe}}</span>
                                 {% else %}
                                     {% if message.comment %}
-                                    <span class="context">{% trans "Context hint" %}: {{message.comment}}</span>
+                                    <span class="context">{% trans "Context hint" %}: {{message.comment|safe}}</span>
                                     {% endif %}
                                 {% endif %}
                                 
                             <td class="original">
                                 <span class="message">{{ message.msgid|format_message|linebreaksbr }}</span>
                             {% if message.msgctxt %}
-                                <span class="context">{% trans "Contextual hint" %}: "{{message.msgctxt}}"</span>
+                                <span class="context">{% trans "Context hint" %}: "{{message.msgctxt|safe}}"</span>
                                 {% else %}
                                 {% if message.comment %}
-                                <span class="context">{% trans "Context hint" %}: {{message.comment}}</span>
+                                <span class="context">{% trans "Context hint" %}: {{message.comment|safe}}</span>
                                 {% endif %}                        
                             {% endif %}
                             </td>