'Django template, send two arguments to template tag and return safe html value?

Is there a way to pass 2 arguments through django template tag and get a safe html value?



Solution 1:[1]

If I understand your question correctly, You can use the built in template tag "safe"

{{ context_var|safe }}

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Jordan Hyatt