PyQT, Sharp Zaurus and color in the QTextBrowser
sybrenUSE at YOURthirdtower.imagination.com
Tue Jul 15 09:43:27 CEST 2003
Jeremy Bowers enlightened us with:
> The confusion probably stems from the fact that as of the latest XHTML
> specification at the time I read it, every single example XHTML
> fragment used double quotes. At no point is it ever specified either
> way in the XHTML specification, except by reference to the XML
Got a point there. I use single quotes all the time thouhg, in HTML generated
echo "<span class='$class'>$msg</span>"
It's a lot better than something I otHften see in other people's code:
echo "<span class=\"$class\">$msg</span>"
Doing it the other way around doesn't work, since PHP doesn't do
variable substitution between single quotes.
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
More information about the Python-list