Forums

Join
bbPress Support ForumsInstallationPost umlauts inside [code]

Info

Post umlauts inside [code]

  1. Hello,

    i want to post umlauts inside a code section [code],
    but when i post umlauts in html-format like this:
    & auml ;
    & ouml ;

    the umlauts change to ä ö.
    How can i change this?

  2. & # 228 ; ä
    & auml l ä
    & # 246 ; ö
    & ouml ; ö

    those are wrapped in backticks not [code], just testing.

  3. & # 228 ; ä
    & auml l ä
    & # 246 ; ö
    & ouml ; ö

    those are wrapped in [code], just testing.

  4. Hmm, backticks converts just the numeric entity, [code] converts both numeric and named. Weird.

  5. yes, but how can i disable wrapping for
    & uuml ;
    & auml ;
    ....
    inside [code] ?

    Here is an example:
    http://websitebaker-cms.de/foren/topic/265-1#post-1468

    and this is the old one:
    http://www.websitebaker-cms.de/forum/t22-265.html#ipe64

    I try to migrate my old forum content into a bbpress and this is nearly the only one problem i have.
    bbpress is realy a great tool!

    regard Daniel

  6. I Have a Solution!

    Using like this:
    preg_match_all("/(<code.*>)(\w.*)(<\/code>)/isxmU",
    $post_text_output, $matches))

    and str_replace()

    inside the post.php of my template will fix the problem for me.

    Regards Daniel

  7. You must log in to post.