Django: How do I prepend

Posted by voidnothings on Stack Overflow See other posts from Stack Overflow or by voidnothings
Published on 2010-05-18T10:23:59Z Indexed on 2010/05/18 10:31 UTC
Read the original article Hit count: 361

Filed under:
|
|

Hello, I'm exploring Django and got this particular problem.

How do I prepend <span class="label">Note:</span> inside {{article.content_html|safe}}?

The content of {{article.content_html|safe}} are paragraph blocks, and I just wanna add <span class="label">Note:</span> in the very first paragraph.

Thanks!

© Stack Overflow or respective owner

Related posts about django

Related posts about string