djangosnippets.org: Latest snippets tagged with 'ptf'https://djangosnippets.org/tags/ptf/2011-04-09T08:03:01.386095-05:00Plaintext format (advanced spaceless)
2011-04-09T08:03:01.386095-05:00hoverhellhttps://djangosnippets.org/snippets/2407/<p>A template loader useful for writing templates with carefully controlled newlines and spaces while retaining readable template source code formatting.</p>
<p>Start the template with PTFTAG (<code>{#ptfable#}</code>, here) to allow it to be processed. Common problems with doing it to most templates as-is is use of newlines to separate …</p>
Freely redistributable