bbPress

Simple, Fast, Elegant

bbPress support forums » Installation

Code backtick bug

(7 posts)
  • Started 1 year ago by Arlo
  • Latest reply from Arlo
  • This topic is not resolved
  1. If I post code with the <code> tag it works fine, but if I use the backticks, " ` ", it munges the code like this:

    <pre><code> [garbage] </code></pre>

    Oddly, if I go in and edit a post having used the "code" tag, it changes them to backticks.

    Ideas?

    Posted 1 year ago #
  2. 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?

    Posted 1 year ago #
  3. 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) `

    Posted 1 year ago #
  4. I still have this problem. Anyone?

    Posted 7 months ago #
  5. 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.

    Posted 7 months ago #
  6. Try my plugin: http://www.livibetter.com/it/topic/plugin-html-tag-attributes-validator

    It supports Image <img>, YouTube and Google Video embedding.

    Posted 7 months ago #
  7. Fel -yup, that was apparently the problem
    Livi- and that plugin works without borking code. Thanks!

    Posted 7 months ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.