Title: Code showing up in posts/comments
Last modified: August 21, 2016

---

# Code showing up in posts/comments

 *  [kalico](https://wordpress.org/support/users/kalico/)
 * (@kalico)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/code-showing-up-in-postscomments/)
 * Love this plugin, but I’m having a problem with some code displaying in posts.
   It seems limited to the SPAN tag, which is used to provide color to text. Any
   way to get this fixed?
 * I tried adding the span tag to the bbp_kses_allowed_tags function in /includes/
   common/formatting.php but that didn’t help.
 * [https://wordpress.org/plugins/bbpress-enable-tinymce-visual-tab/](https://wordpress.org/plugins/bbpress-enable-tinymce-visual-tab/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [Jared Atchison](https://wordpress.org/support/users/jaredatch/)
 * (@jaredatch)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/code-showing-up-in-postscomments/#post-5045867)
 * What formatting are you users using that adds the span tag?
 *  Thread Starter [kalico](https://wordpress.org/support/users/kalico/)
 * (@kalico)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/code-showing-up-in-postscomments/#post-5045868)
 * The “text color” button, which I have since disabled, was adding span tags.
 *  [Tom Woodward](https://wordpress.org/support/users/tww94/)
 * (@tww94)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/code-showing-up-in-postscomments/#post-5045887)
 * I seem to be having similar problems with people pasting from Word. The formatting
   shows up in a variety of ways. Example below. This in WP 4.0 Multisite and bbPress
   2.5.4.
 * > <p style=”margin: 0px; font-size: 12px; line-height: normal; font-family: Arial;
   > color: #0b1b33;”><span style=”letter-spacing: 0.0px;”>When I got the assignment
   > to build ideas and campaign for the<b> Preemptive Love Coalition</b> I was 
   > immediately drawn to the name. It embraces equality, love and coming together.
   > They are working consistently towards <b>their mission</b> to help in the efforts
   > of getting young Iraqi children the various surgeries that they need. Decades
   > of violence destroyed Iraq’s hospitals and left children to die, but we have
   > a proven process to save lives and remake the world. They are interested in
   > helping these children with long-term success and health. These are just some
   > of there core values, the “Pursuit for peace” and “Hope for the Hopeless” are
   > some of the accompanying values. </span></p>
 *  [jeanychiu](https://wordpress.org/support/users/jeanychiu/)
 * (@jeanychiu)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/code-showing-up-in-postscomments/#post-5045888)
 * I’m loving this plugin as well! but i’m having the same trouble with all the 
   functions in the second row of the full editor when a subscriber is logged in.
   The codes showed up!
 *  [jeanychiu](https://wordpress.org/support/users/jeanychiu/)
 * (@jeanychiu)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/code-showing-up-in-postscomments/#post-5045889)
 * Is there currently a fix to the problem with codes showing up?
 * thanks!
 * Jean
 *  Thread Starter [kalico](https://wordpress.org/support/users/kalico/)
 * (@kalico)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/code-showing-up-in-postscomments/#post-5045890)
 * I’m still having trouble with this, and would love to hear from Jared about a
   possible fix.
 * Users have a nasty habit of pasting in a bunch of code without realizing it. 
   They copy something from a website, and it looks fine in the visual tab….and 
   then after they submit the post, some tags are not permitted, and they surface
   in the final display.
 * It seems like the solution would be to strip those tags instead of converting
   them to display text. The ugly mess this creates is making me want to go back
   to plain text.
 * Rather neanderthal, but what about a block against pasting? Or a warning message/
   option to go back: “you used HTML in your post, and it will be ugly”? I know 
   that kind of defeats the purpose of the plugin, but users and staff are getting
   frustrated.
 * It’s not easy to train end users….they have no idea what they are doing, and 
   they don’t read prompts like “you can use BBcode” (not that they would know what
   that means anyway).
 * Any solution?
 *  [jgar123](https://wordpress.org/support/users/jgar123/)
 * (@jgar123)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/code-showing-up-in-postscomments/#post-5045893)
 * The code is being displayed when I post using the visual tab once this plugin
   is enabled. Seems no one has the answer, and I don’t think the posters here are
   incompetent, not doing something right or have strange and special configs. I
   have tested on several sites, and the code is always posted when using this plugin.
   Anyone able to get over this hump? Its a shame BP decommissioned this, and that
   this doesn’t work.
 *  [ebussinetz](https://wordpress.org/support/users/ebussinetz/)
 * (@ebussinetz)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/code-showing-up-in-postscomments/#post-5045894)
 * The same issue here. I think, it´s a problem of bbPress.
 *  [neoonline](https://wordpress.org/support/users/neoonline/)
 * (@neoonline)
 * [11 years ago](https://wordpress.org/support/topic/code-showing-up-in-postscomments/#post-5045906)
 * I am also having the same problem.
    When creating the topic, everything appears
   OK, however when posted only codes. Already accomplished tests and is really 
   the plugin. to remove it, it works perfectly.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Code showing up in posts/comments’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/bbpress-enable-tinymce-visual-tab.
   svg)
 * [bbPress Enable TinyMCE Visual Tab](https://wordpress.org/plugins/bbpress-enable-tinymce-visual-tab/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bbpress-enable-tinymce-visual-tab/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bbpress-enable-tinymce-visual-tab/)
 * [Active Topics](https://wordpress.org/support/plugin/bbpress-enable-tinymce-visual-tab/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bbpress-enable-tinymce-visual-tab/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bbpress-enable-tinymce-visual-tab/reviews/)

 * 9 replies
 * 7 participants
 * Last reply from: [neoonline](https://wordpress.org/support/users/neoonline/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/code-showing-up-in-postscomments/#post-5045906)
 * Status: not resolved