Title: HTML formatting
Last modified: April 25, 2017

---

# HTML formatting

 *  [nikoweb](https://wordpress.org/support/users/nikoweb/)
 * (@nikoweb)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/html-formatting-3/)
 * Hello and thank you for this plugin that works well with WooCommerce 3.x
 * I would like to format the text “Method title” perhaps with <span> but your system
   does not take HTML into account.
 * Example:
    I have this sentence: 2 | 18.20 | Chronopost 13 – Receive your package
   the next day before 13h for any order placed before 12h |
 * I would like to format this as: <span class=”maclass”>Chronopost 13</ Span> <
   span class=”maclass”>Receive your package the next day before 1:00 pm for any
   order placed before 12:00pm </span> |
    But it breaks the display Do you have 
   a method to add HTML to this part? cordially Niko

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

 *  Plugin Author [bobbingwide](https://wordpress.org/support/users/bobbingwide/)
 * (@bobbingwide)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/html-formatting-3/#post-9125065)
 * Hi, there are two things that prevent this from working.
 * oik-weight-zone-shipping treats ‘/’ characters as delimiters. The latest version(
   currently under development ) is stripping them out – so the span end tags gets
   broken.
 * But even when that logic has been disabled, WooCommerce is stripping tags since
   it attaches the sanitize_text_field function to the ‘woocommerce_shipping_rate_label’
   filter.
 * It’s possible to implement a solution for this. Is this something you really 
   need?
 *  Plugin Author [bobbingwide](https://wordpress.org/support/users/bobbingwide/)
 * (@bobbingwide)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/html-formatting-3/#post-9136888)
 * A solution for this will be delivered in the next version of the plugin.
    To 
   achieve this it will no longer be possible to use the ‘/’ as a field delimiter
   in the rates table.
 *  Thread Starter [nikoweb](https://wordpress.org/support/users/nikoweb/)
 * (@nikoweb)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/html-formatting-3/#post-9137646)
 * Thank you for your answers, I have only to wait while waiting for the new update.
   
   Thank you very much 🙂

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

The topic ‘HTML formatting’ is closed to new replies.

 * ![](https://ps.w.org/oik-weight-zone-shipping/assets/icon-256x256.jpg?rev=1468722)
 * [Weight zone shipping for WooCommerce](https://wordpress.org/plugins/oik-weight-zone-shipping/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/oik-weight-zone-shipping/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/oik-weight-zone-shipping/)
 * [Active Topics](https://wordpress.org/support/plugin/oik-weight-zone-shipping/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/oik-weight-zone-shipping/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/oik-weight-zone-shipping/reviews/)

## Tags

 * [html formatting](https://wordpress.org/support/topic-tag/html-formatting/)

 * 3 replies
 * 2 participants
 * Last reply from: [nikoweb](https://wordpress.org/support/users/nikoweb/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/html-formatting-3/#post-9137646)
 * Status: not resolved