Title: Recon's Replies | WordPress.org

---

# Recon

  [  ](https://wordpress.org/support/users/recon/)

 *   [Profile](https://wordpress.org/support/users/recon/)
 *   [Topics Started](https://wordpress.org/support/users/recon/topics/)
 *   [Replies Created](https://wordpress.org/support/users/recon/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/recon/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/recon/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/recon/engagements/)
 *   [Favorites](https://wordpress.org/support/users/recon/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/users/recon/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/recon/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form DB] [Plugin: Contact Form 7 to Database Extension] IF statement with [cfdb-html] shortcode](https://wordpress.org/support/topic/plugin-contact-form-7-to-database-extension-if-statement-with-cfdb-html-shortcode/)
 *  Thread Starter [Recon](https://wordpress.org/support/users/recon/)
 * (@recon)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-to-database-extension-if-statement-with-cfdb-html-shortcode/#post-2087006)
 * Fantastic. Thanks for quick reply.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form DB] [Plugin: Contact Form 7 to Database Extension] IF statement with [cfdb-html] shortcode](https://wordpress.org/support/topic/plugin-contact-form-7-to-database-extension-if-statement-with-cfdb-html-shortcode/)
 *  Thread Starter [Recon](https://wordpress.org/support/users/recon/)
 * (@recon)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-to-database-extension-if-statement-with-cfdb-html-shortcode/#post-2087004)
 * Reading your [previous post](http://wordpress.org/support/topic/text-area-formatting?replies=23#post-2175758)
   again, I don’t think this problem is related to `wpautop`.
 * I am looking to preserve line breaks _within_ a field, not between different 
   outputted fields. It looks like the relevant code starts on **line 152** in **
   ExportToHtmlTemplate.php**. Is it possible to include this in a custom shortcode
   like the one above?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form DB] [Plugin: Contact Form 7 to Database Extension] IF statement with [cfdb-html] shortcode](https://wordpress.org/support/topic/plugin-contact-form-7-to-database-extension-if-statement-with-cfdb-html-shortcode/)
 *  Thread Starter [Recon](https://wordpress.org/support/users/recon/)
 * (@recon)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-to-database-extension-if-statement-with-cfdb-html-shortcode/#post-2087002)
 * Actually, it wasn’t the `wpautop` option that fixed this problem with the `[cfdb-
   html]` shortcode. I believe it was a [separate fix](http://wordpress.org/support/topic/text-area-formatting?replies=23#post-2175758).
   Hopefully the same fix for custom shortcodes isn’t too difficult to add.
 * Thanks again!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form DB] [Plugin: Contact Form 7 to Database Extension] IF statement with [cfdb-html] shortcode](https://wordpress.org/support/topic/plugin-contact-form-7-to-database-extension-if-statement-with-cfdb-html-shortcode/)
 *  Thread Starter [Recon](https://wordpress.org/support/users/recon/)
 * (@recon)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-to-database-extension-if-statement-with-cfdb-html-shortcode/#post-2087001)
 * Great, thanks Michael! That works great 🙂
 * I have one more question. When using the `[cfdb-html]` shortcode, fields containing
   line breaks were displayed correctly. This was fixed when you introduced the `
   wpautop` option.
 * With my own shortcode, this no longer works. I tried adding `wpautop="true"` 
   and `wpautop="false"` but neither worked. How can I re-enable this with my own
   shortcode?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form DB] [Plugin: Contact Form 7 to Database Extension] IF statement with [cfdb-html] shortcode](https://wordpress.org/support/topic/plugin-contact-form-7-to-database-extension-if-statement-with-cfdb-html-shortcode/)
 *  Thread Starter [Recon](https://wordpress.org/support/users/recon/)
 * (@recon)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-to-database-extension-if-statement-with-cfdb-html-shortcode/#post-2086997)
 * Thanks for the link. I think that I could figure out how to make a custom shortcode
   to display a value only if the value exists in the db, but how could I use this
   inside a regular [cfdb-html] shortcode?
 * Would I need to recreate the entire [cfdb-html] shortcode to achieve this? Using
   a shortcode within a shortcode wouldn’t work, right?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form DB] [Plugin: Contact Form 7 to Database Extension] IF statement with [cfdb-html] shortcode](https://wordpress.org/support/topic/plugin-contact-form-7-to-database-extension-if-statement-with-cfdb-html-shortcode/)
 *  Thread Starter [Recon](https://wordpress.org/support/users/recon/)
 * (@recon)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-to-database-extension-if-statement-with-cfdb-html-shortcode/#post-2086969)
 * Do you have an idea as to when this will be available?
 * This is a great plugin and, for my needs, this is the only missing feature.
 * Thanks for all the help so far.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form DB] Text Area Formatting](https://wordpress.org/support/topic/text-area-formatting/)
 *  [Recon](https://wordpress.org/support/users/recon/)
 * (@recon)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/text-area-formatting/page/2/#post-2090410)
 * Fantastic. It works perfectly. Thanks 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form DB] Text Area Formatting](https://wordpress.org/support/topic/text-area-formatting/)
 *  [Recon](https://wordpress.org/support/users/recon/)
 * (@recon)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/text-area-formatting/page/2/#post-2090408)
 * Ah, I see. Yes, I meant data in a field.
 * Changing “Show line breaks in submitted data table” to “true” only changes the
   linebreaks in the backend.
 * Thanks for looking into this.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form DB] Text Area Formatting](https://wordpress.org/support/topic/text-area-formatting/)
 *  [Recon](https://wordpress.org/support/users/recon/)
 * (@recon)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/text-area-formatting/page/2/#post-2090405)
 *     ```
       [cfdb-html wpautop="true" form="gunma-guide" filter="loc_category=Outdoors" show="loc_name,loc_category,loc_city,loc_latitude,loc_longitude,loc_website,loc_description" orderby="loc_city,loc_category,loc_name"]
       <h3>${loc_name}</h3>
       ${loc_city} (${loc_category})
       ${loc_description} (<a href="http://maps.google.com/maps?q=${loc_latitude},${loc_longitude}+&z=15&iwloc=A">Map</a>)
       [/cfdb-html]
       ```
   
 * [Output](http://www.gunmajet.net/gunma-guide/outdoors/).
 * If you view the source, you can see that there should be a line break in the `
   ${loc_description}`. I’m using WordPress 3.1.2.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form DB] Text Area Formatting](https://wordpress.org/support/topic/text-area-formatting/)
 *  [Recon](https://wordpress.org/support/users/recon/)
 * (@recon)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/text-area-formatting/#post-2090403)
 * Is this feature still in the development version?
 * I have just downloaded it again and I’m still unable to make this work. I have
   tried setting `wpautop` to `true` and `false`. The line breaks appear correctly
   in the backend table view, but they disappear when I use the `[cfdb-html]` shortcode.
 * Sorry to bug you again but I have no idea why this isn’t working for me.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form DB] Text Area Formatting](https://wordpress.org/support/topic/text-area-formatting/)
 *  [Recon](https://wordpress.org/support/users/recon/)
 * (@recon)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/text-area-formatting/#post-2090398)
 * Nope, still no change with it set to “false”.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form DB] Text Area Formatting](https://wordpress.org/support/topic/text-area-formatting/)
 *  [Recon](https://wordpress.org/support/users/recon/)
 * (@recon)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/text-area-formatting/#post-2090396)
 * I’ve installed v1.8.7 and have added `wpautop="true"` to the `[cfdb-html]` shortcode,
   but line breaks in form data are still not being wrapped in `p` or `br` tags.
   Am I missing something?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form DB] Escape characters](https://wordpress.org/support/topic/escape-characters/)
 *  Thread Starter [Recon](https://wordpress.org/support/users/recon/)
 * (@recon)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/escape-characters/#post-2111769)
 * I’ve just found out that my host (Dreamhost) has magic_quotes_gpc [OFF by default](http://wiki.dreamhost.com/PHP_Magic_Quotes).
 * I also noticed that this function has now been [deprecated](http://www.php.net/manual/en/security.magicquotes.php).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form DB] Escape characters](https://wordpress.org/support/topic/escape-characters/)
 *  Thread Starter [Recon](https://wordpress.org/support/users/recon/)
 * (@recon)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/escape-characters/#post-2111768)
 * They appear in the backend, too.
 * I have set up Contact Form 7 so that the data is emailed to me as well as added
   to the database. The backslashes do not appear in the emailed version but they
   are saved into the database.
 * Is it normal for the backslashes to appear in the backend, or should they not
   appear anywhere?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form DB] Suppress Blank Lines When Using [cfdb-html]](https://wordpress.org/support/topic/suppress-blank-lines-when-using-cfdb-html/)
 *  [Recon](https://wordpress.org/support/users/recon/)
 * (@recon)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/suppress-blank-lines-when-using-cfdb-html/#post-2111656)
 * [http://wordpress.org/support/topic/plugin-contact-form-7-to-database-extension-if-statement-with-cfdb-html-shortcode?replies=2](http://wordpress.org/support/topic/plugin-contact-form-7-to-database-extension-if-statement-with-cfdb-html-shortcode?replies=2)

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/users/recon/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/recon/replies/page/2/?output_format=md)