& g t ; Welcome
How do I show the actual symbol instead? Is it a template filter?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Bit hard to know without more details. If it’s from data that you’re passing in from the view, you might want to use
mark_safe.Otherwise, you want the
safefilter:Obviously, be careful with this, make sure the variable actually is safe, otherwise you’ll open yourself up to cross-site scripting attacks and the like. There’s a reason Django escapes this stuff.