In my main.html
template, I have the following code:
<p>{% include "pouac.html" %}{% include "pouac.html" %}</p>
The file pouac.html
contains just one line:
<span>pouac</span>
When rendered, the main.html
template generates two lines of HTML code:
<span>pouac</span>
<span>pouac</span>
Unfortunately, there is a white space between the two instances of "pouac" words (for example: "word1" and "word2" are separated by a whitespace in http://jsfiddle.net/regisb/CBtaz/)
To remove this unwanted whitespace, I am looking for a way to render a Django template without inserting an extra line break. How can I achieve that?