Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have WP-Markdown and SyntaxHighlighter Evolved wordpress plugins installed.

The issue is that when I write the code, and click the "Update" button, I have the code reformatted.

[ruby] 
class Foo < Bar 
    def hello 
        puts "Hello World!" 
    end 
end 
[/ruby]

This is the modified code.

[ruby] class Foo < Bar def hello puts "Hello World!" end end [/ruby]

There is no change without the [ruby] tag.

class Foo < Bar 
    def hello puts "Hello World!" 
    end 
end

How can I prevent the code modification? I tried following actions to get the same results.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.