I'm trying to use the code tag to show a sample of code on a post on my cite. It changes the font but the code is still being interpreted with the tags disappearing.

I want to do this:

Example of how to make text strong.

Here is the code for the above example:

Example of how to make text <strong>strong</strong>.

It's working here. You should know that I just installed TinyMCE. Might that be mucking things up?

I'm using the Garland theme.

Shai

Comments

Shai’s picture

I just disabled TinyMCE and the code tag still isn't working. Does the same thing, changes the font of the text inside the tags but doesn't block the interpretation of any enclosed tags.

Shai

http://dogsgrowlove.com

marcoBauli’s picture

you can find it here, it does exactly fix your issue.

groomedmonkey’s picture

Awesome! I still don't understand why the code tags don't escape html in the default install and if it has a particular use then it should be better documented as I would not of thought I'd need a module, to make what appears to be included, work.