Title: Csv export contains css styles
Last modified: November 8, 2024

---

# Csv export contains css styles

 *  Resolved [Manja Neumann](https://wordpress.org/support/users/tippl/)
 * (@tippl)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/csv-export-contains-css-styles/)
 * Hi,
 * when exporting booking data we get some fields, f.e. the city field, with css
   styles included:
 *     ```wp-block-code
       <span style="color:red;">Düsseldorf </span>
       ```
   
 * How can we fix this issue?
 * Thanks,
   Manja

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

 *  [joneiseman](https://wordpress.org/support/users/joneiseman/)
 * (@joneiseman)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/csv-export-contains-css-styles/#post-18122456)
 * Until this problem gets fixed by the plugin owner, you could try using the following
   code snippet to fix the problem:
 *     ```wp-block-code
       function my_em_custom_booking_form_cols_tickets($value, $col){    if( $col != 'actions' && $col != 'event_name' && $col != 'user_email' ){	$value = wp_strip_all_tags( $value );    }    return $value;}add_filter('em_bookings_table_rows_col','my_em_custom_booking_form_cols_tickets', 100, 2);
       ```
   
 * You can use the [Code Snippets](https://wordpress.org/plugins/code-snippets/)
   plugin to add this code snippet.
 *  Thread Starter [Manja Neumann](https://wordpress.org/support/users/tippl/)
 * (@tippl)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/csv-export-contains-css-styles/#post-18122842)
 * It works 🙂 Thanks a lot!
    -  This reply was modified 1 year, 7 months ago by [Manja Neumann](https://wordpress.org/support/users/tippl/).
 *  [joneiseman](https://wordpress.org/support/users/joneiseman/)
 * (@joneiseman)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/csv-export-contains-css-styles/#post-18122952)
 * I tried it and it worked for me.

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

The topic ‘Csv export contains css styles’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [joneiseman](https://wordpress.org/support/users/joneiseman/)
 * Last activity: [1 year, 7 months ago](https://wordpress.org/support/topic/csv-export-contains-css-styles/#post-18122952)
 * Status: resolved