What do you mean? Backticks wraps text in bothpre
and code
tags?
Not sure of the effects of code
in standard XHTML, could be styled pretty easily … but perhaps it’s just easiest to use both pre
and code
?
What I mean is, when I wrap text in backticks, it actually converts it to <pre><code>
and removes the contents, replacing it with a random character, like an “n” or whatever.
I want to be able to just use backticks for code, but I can’t. That’s the problem.
Edit: Here’s an example. I created a post that looks like this (swapping a backtick for “[backtick]” so it won’t get eaten:
[backtick]test[backtick]
What it spit out is this (swapping parens for brackets so it wont get eaten):
(pre)(code)s`
(/code) `
I still have this problem. Anyone?
You have the allow images plugin installed, don’t you?
If my guess is right, turning it off will make backticks work again. But that may not be worth it to you.
Try my plugin: http://www.livibetter.com/it/topic/plugin-html-tag-attributes-validator
It supports Image <img>
, YouTube and Google Video embedding.
Fel -yup, that was apparently the problem
Livi- and that plugin works without borking code. Thanks!
It’s archived here:
http://code.google.com/p/llbbsc/wiki/HTMLTagAttributesValidatorPlugin
http://web.archive.org/web/20071227175025/http://www.livibetter.com/it/topic/plugin-html-tag-attributes-validator
http://llbbsc.googlecode.com/svn/trunk/bbPress/HTMLTagAttributesValidator/HTMLTagAttributesValidator.php
That’s actually a fairly decent plugin, too bad it’s not in the extend section.