| @@ -96,9 +96,9 @@ | ||
| 96 | 96 | |
| 97 | 97 | $labels[ $i ] = $this->toUTF8( $labels[ $i ] ); |
| 98 | 98 | |
| 99 | 99 | $this->_series[] = array( |
| 100 | - 'label' => $labels[ $i ], | |
| 100 | + 'label' => sanitize_text_field( wp_strip_all_tags( $labels[ $i ] ) ), | |
| 101 | 101 | 'type' => isset( $types[ $i ] ) ? $types[ $i ] : $default_type, |
| 102 | 102 | ); |
| 103 | 103 | } |
| 104 | 104 | |