Skip to:
Content
Pages
Categories
Search
Top
Bottom

Post umlauts inside [code]

  • @danfuh

    Member

    Hello,

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

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

    [code],

    but when i post umlauts in html-format like this:

    & auml ;

    & ouml ;

    the umlauts change to ä ö.

    How can i change this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • @chrishajer

    Participant

    & # 228 ; ä

    & auml l ä

    & # 246 ; ö

    & ouml ; ö

    those are wrapped in backticks not , just testing.

    [code], just testing.

    @chrishajer

    Participant

    & # 228 ; ä

    & auml l ä

    & # 246 ; ö

    & ouml ; ö

    those are wrapped in , just testing.

    [code], just testing.

    @chrishajer

    Participant

    Hmm, backticks converts just the numeric entity, converts both numeric and named. Weird.

    [code] converts both numeric and named. Weird.

    @danfuh

    Member

    yes, but how can i disable wrapping for

    & uuml ;

    & auml ;

    ….

    inside ?

    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

    [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

    @danfuh

    Member

    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

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar