File: mark_safe.py

package info (click to toggle)
bandit 1.7.10-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 5,796 kB
  • sloc: python: 19,688; makefile: 23; sh: 14
file content (4 lines) | stat: -rw-r--r-- 102 bytes parent folder | download | duplicates (5)
1
2
3
4
from django.utils import safestring

mystr = '<b>Hello World</b>'
mystr = safestring.mark_safe(mystr)