Commits

tehfink committed b4456a7

avoid tags in truncated faq entry from screwing up enclosing html

  • Participants
  • Parent commits 61ca166
  • Branches cms-2.X

Comments (0)

Files changed (1)

File cmsplugin_faq/templates/plugins/cmsplugin_faq/faq_list.html

             <div>
 
             <div class="faq-entry-body">
-                {{ faq_entry.body|safe|truncatewords_html:10 }}
+                {{ faq_entry.body|safe|striptags|truncatewords_html:10 }}
             <div>
 
         <hr>