[EMAIL PROTECTED] schrieb:
> Andreas Junghans <[EMAIL PROTECTED]> writes:
> 
>> Hi Derrell,
>>
>> Am 29.03.2007 um 14:18 schrieb [EMAIL PROTECTED]:
>>
>>> [EMAIL PROTECTED] writes:
>>>
>>>> Revision: 7077
>>>>           http://svn.sourceforge.net/qooxdoo/?rev=7077&view=rev
>>>> Author:   wpbasti
>>>> Date:     2007-03-29 05:10:18 -0700 (Thu, 29 Mar 2007)
>>>>
>>>> Log Message:
>>>> -----------
>>>> Optimized processing of <pre><code> blocks
>>> Hi Sebastian,
>>>
>>> This seems broken to me.  Anything inside of <pre></pre> should be  
>>> presented
>>> literally; it's supposed to be preformatted and html tags should  not be
>>> interpreted as html tags.  This means that the actual text "<code>"  should
>>> be
>>> displayed if it is within <pre>.
>> I'm afraid you're wrong here. <pre> just means that spaces and newlines are
>> preserved and that a monospaced font is to be used. All tags inside <pre>
>> are processed as usual.
> 
> Ok, it seems that I misremembered what <pre> did.  Looking it up now,
> though...  My very old reference says "You should not nest other kinds of tags
> within preformatted text because browsers may interpret such tags strangely.
> The only exception is the anchor tag, <A> ..."
> 
> Since <pre> is supposed to (according to this HTML 3.2 reference) display the
> text in a fixed-width font which is adequate for presenting code, maybe it'd
> be better to use just <pre> rather than <pre><code>?

<pre><code> makes problems with the remaining textile implementation we 
use. This is the reason why I exactly added the code to replace such 
sequences. All <pre><code> will now be transparently replaced with <pre> 
before the real textile processing starts.

Sebastian

> 
> Derrell
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to