makotokw / wp-gfm

WordPress Plugin for PHP-Markdown and GitHub Flavored Markdown
MIT License
118 stars 11 forks source link

Blockquotes are broken (being converted to html entity) #4

Open lakenen opened 10 years ago

lakenen commented 10 years ago

The blockquote is broken, because wordpress appears to be converting the greater than character into an html entity > when you save a post. Is there a workaround for this?

blockquote

makotokw commented 10 years ago

I have heard some converter are executed when someone uses the Visual Editor.

Please confirm you or other user use Text Editor.

lakenen commented 10 years ago

I was using the text editor. Now I am also seeing: "WP_GFM HttpError: 403 Forbidden"

makotokw commented 10 years ago

Could you try to use [markdown][/markdown] instead of [gfm][/gfm]? [gfm] requires GitHub Render API or alternate server you set up.

dwendt commented 10 years ago

Shouldn't [gfm] tags work, though? Github flavored markdown is way preferable to standard markdown.

It looks like the entire post is having htmlentities() run on it before it is sent to the Github Render API, for me...

makotokw commented 10 years ago

I have just tested [gfm] then works fine with <>. (I use WordPress 4.0)

It may other plugin convert content before wp-gfm. If you use converter plugin (ex. SyntaxHighlighter plugin), try after disabling it.