svivian / q2a-markdown-editor

Markdown editor plugin for Question2Answer
55 stars 24 forks source link

Single and double quotation marks print back slashes #8

Closed peterolle closed 11 years ago

peterolle commented 11 years ago

Examples:

This: MessageBox.Show("Mesage", "Title", MessageBoxButtons.OK, MessageBoxIcon.Information) ;

Shows this: MessageBox.Show(\"Mesage\", \"Title\", MessageBoxButtons.OK, MessageBoxIcon.Information) ;

This: eval (\'$\'.$a.\'=\'.$b);

Shows this: eval (\'$\'.$a.\'=\'.$b);

How can this be fixed ? A lot of posts are going to be incorrect because of this.

Thanks.

svivian commented 11 years ago

You have the archaic PHP setting "magic quotes" turned on, and are possibly using a very old version of PHP which we do not support. See issue #1 .