• Hello!

    I love this plugin. Works great for the comments on my site.

    I’ve recently started using bbPress though, and have enabled WP-Markdown for forums/topics/replies. What I get when saving is pretty weird. There are literally <p> tags being saved, and then those literally display when the reply is posted. Editing the post gets you pretty weird stuff as well, which alters the content when re-saved. Ideally, what a user writes is displayed again exactly how they originally wrote it, and the weird P tag thing doesn’t happen.

    Here’s a little screencast showing the issues: http://www.screenr.com/EtCH

    -Chris

    http://wordpress.org/plugins/wp-markdown/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Chris Coyier

    (@chriscoyier)

    I should mention that in testing the problem, it’s best to test as NOT a Super Admin user. They have the ability to “post unrestricted HTML content” that normal forum users don’t have.

    Plugin Author Stephen Harris

    (@stephenharris)

    Hi Chris,

    I encountered this problem when I updated bbPress (can’t remember which version). bbPress has its own kses filter, which restricts the HTML tags allowed, and is a lot stricter than those for ordinary posts. I’ve posted the solution I use: https://gist.github.com/stephenharris/6078242

    Thread Starter Chris Coyier

    (@chriscoyier)

    Hey Stephen,

    Thanks for the help!

    I tried putting this at the bottom of my bbpress-functions.php file, but unfortunately no luck yet. Was that the right place to put it?

    In testing, I’m using a regular WordPress installed with **only** bbPress and WP-Markdown enabled as plugins. WP-Markdown is set to be on for all bbPress stuff. I’m also testing as a “regular” forums user, not an admin, which have different HTML posting permissions.

    Markdown works, but paragraphs are getting wrapped in that <p> tag which ultimately displays.

    Here’s a screencast showing what’s going on: http://www.screenr.com/s6CH

    -Chris

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding Extra Paragraph Tags, strange editing’ is closed to new replies.