Permalink
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (6 sloc) 219 Bytes
.. highlight:: django

Escape the value for insertion in xml output.

For example:

{{ value|escapexml }}

When the value is <hel'lo> then the output is &#60;hel&#39;lo&#62;.