Karl Swedberg schrieb:
> In my implementation, WordPress treats any tags in a post as if they 
> were actual tags, even if they're wrapped in <code></code>.
>
> I have to use, for example, <code>&lt;a href=""&gt;link 
> text&lt;/a&gt;</code>
>
> For blocks of code I use the IG:Syntax Hiliter:
> http://blog.igeek.info/wp-plugins/igsyntax-hiliter/
>
> Then I do something like this for JavaScript: [js] //some code here [/js]
> And it comes out pretty.
>
> I'm sure there are a lot of other ways to do it, but so far this is 
> what has worked for me. Not without its frustrations, though. I think 
> WordPress is a little over-zealous in its processing of post text. Oh 
> well.
Anyone got an idea if they fixed or at least improved that behaviour in 
2.1? If not, we should start a vote to improve that in 2.2... After 
quite a lot of frustration with that matter I deactivated the richtext 
editor, now escaping most of my code examples by hand, which is a good 
reason to not post any HTML snippets at all...

-- 
Jörn Zaefferer

http://bassistance.de


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to