On 6 juil. 2012, at 02:29, Micky Hulse <[email protected]> wrote:

> On Thu, Jul 5, 2012 at 5:00 PM, Russell Keith-Magee
> <[email protected]> wrote:
>> Good question. I'm not really sure *what* it's supposed to be used
>> for. Trimming whitespace to reduce page size is one possible use; the
> 
> If you develop for IE6, there's the IE6 whitespace bug. One fix, that
> I know of, is to remove all whitespace around the HTML.
> 
> I never use the spaceless tag myself, but just thought I would mention
> another way one could utilize the tag.
> 

An other use case is that whitespace is significant in parts of HTML: in code 
blocks of course but also *between inline elements*. In that case, spaceless 
tends to be more maintainable than removing all white space by hand end getting 
a single huge line. 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to