none
WLW modifies code inside pre-tags

    Question

  • Hi,
    i use a wordpress blog with the syntax highlighter plugin. Whenever i load a page containing code samples (inside pre-tags) into WLW, the HTML code is ok.
    e.g.
    my $hash = {
      key1 => "str1",
      key2 => "str2",
    };
    But, when i switch to rich-text-mode and then back to raw-html-mode, several characters are being replaced by html-encodings.
    My page now looks like
    my $hash = {
      key1 => "str1",
      key2 => "str2",
    };
    As this is inside pre-tags, the browser displays it exactly as you see it above. Not good.
    I didn't find a setting to switch this behaviour off. Is there a way to tell WLW not to touch anything inside <pre></pre> ?

    Koarl
    Sunday, November 29, 2009 3:49 PM