Title: Ugly code is showing up randomly
Last modified: August 21, 2016

---

# Ugly code is showing up randomly

 *  [Nate](https://wordpress.org/support/users/caming/)
 * (@caming)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/ugly-code/)
 * The following is happening randomly, or maybe it’s related to the user browser?
   I can’t figure it out to save my life. Any help?
 * Example (instead of a well-formatted quote box, the following appears):
 *     ```
       <div class=”d4p-bbt-quote-title”>Wildcat67 wrote:</div>
       Really? Really?
   
       So Lombardi, Belichek, Sanders, Ray Lewis, and Matt Millen.
   
       One of these things is not like the others.
       ```
   
 * [http://wordpress.org/plugins/gd-bbpress-tools/](http://wordpress.org/plugins/gd-bbpress-tools/)

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

 *  Plugin Author [Milan Petrovic](https://wordpress.org/support/users/gdragon/)
 * (@gdragon)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/ugly-code/#post-4188883)
 * This code is generated by the Quote feature. I don’t understand what is ‘ugly’
   about it?
 *  [dlwasylyk](https://wordpress.org/support/users/dlwasylyk/)
 * (@dlwasylyk)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/ugly-code/#post-4188885)
 * I am seeing the same issue – it’s not the HTML he’s referring to, but that some
   users, when quoting, are getting HTML entities in the post instead of the markup
   so the actual markup appears in the quote rather than formatting.
 * For example, open element tags are posting as ampersand-lt-semicolon, etc. I 
   checked user agents, but it seems to be across the board – Chrome, IE, Firefox.
 *  [Tecca](https://wordpress.org/support/users/tecca/)
 * (@tecca)
 * [12 years ago](https://wordpress.org/support/topic/ugly-code/#post-4188888)
 * I have this as well. It only seems to happen on my end when a user quotes someone
   with a quote in their post. So any posts with nested quotes in them. One quote
   works just fine.
 *  [Daniel J. Lewis](https://wordpress.org/support/users/djosephdesign/)
 * (@djosephdesign)
 * [12 years ago](https://wordpress.org/support/topic/ugly-code/#post-4188890)
 * This also greatly annoys my forum posters, too. It happens every time a regular
   member (who can’t post with HTML) quotes someone else who is already quoting.
 * I understand what’s happening. The [quote] shortcode is turned into HTML by GD
   bbPress Tools. So when someone uses the Quote feature on someone else’s post 
   with a quotation, it copies the HTML code, `<div class=”d4p-bbt-quote-title”>`,
   instead of the shortcode.
 * And since most members can’t publish HTML, it displays the HTML freely instead
   of interpreting it.
 * I think the only fix would be to make the Quote function recognize its own quotations
   and convert them back into the shortcodes when being double-quoted.
 *  [Fenix01](https://wordpress.org/support/users/fenix01/)
 * (@fenix01)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/ugly-code/#post-4188891)
 * Hi, I have exactly the same problem.
    Multiple quotes don’t work without admin
   rights. You may found an example here : [http://forum.my-shield.com/topic/example/#post-199](http://forum.my-shield.com/topic/example/#post-199)
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/ugly-code/#post-4188892)
 * If you require assistance then, as per the [Forum Welcome](http://codex.wordpress.org/Forum_Welcome#Where_To_Post),
   please post your own topic instead of tagging onto someone else’s topic.
 * I am now closing this 8 month old topic as it references an older version of 
   WordPress.

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

The topic ‘Ugly code is showing up randomly’ is closed to new replies.

 * ![](https://ps.w.org/gd-bbpress-tools/assets/icon.svg?rev=2889151)
 * [GD bbPress Tools](https://wordpress.org/plugins/gd-bbpress-tools/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gd-bbpress-tools/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gd-bbpress-tools/)
 * [Active Topics](https://wordpress.org/support/plugin/gd-bbpress-tools/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gd-bbpress-tools/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gd-bbpress-tools/reviews/)

 * 6 replies
 * 7 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/ugly-code/#post-4188892)
 * Status: not resolved