[Seaside-dev] #space method,   and Safari

Michael Lucas-Smith mlucas-smith at cincom.com
Tue May 6 06:39:03 UTC 2008


Hi All,

I was debugging in WebKit today and realized that Safari is quite 
particular about named entities such as 'nbsp' if you haven't declared 
the DTD at the top of your document. I don't think it's reasonable to 
require the DTD to be declared if we're using XHTML namespaces.

This, however, means that the #space method, which emits an 'nbsp' is 
incorrect unless the DTD is included. Instead of:
html html: ' '

the method could be:
html html: ' '

and have the same meaning.

Cheers,
Michael


More information about the seaside-dev mailing list