Title: Bug with paste
Last modified: August 20, 2016

---

# Bug with paste

 *  [kartofelek007](https://wordpress.org/support/users/kartofelek007/)
 * (@kartofelek007)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/bug-with-paste/)
 * When I paste code – for example:
 *     ```
       $(this).wrap('<span class="radio-button"></span>');
            if ($(this).is(':checked')) {
                  $(this).parent().addClass('on');
            }
       ```
   
 * Then span dont have class 🙁
 * `$(this).wrap('<span></span>');`
 * This is happend with all tags – div, span ect.
 * When i write this message, my version of this plugin is 1.7.3
 * [http://wordpress.org/extend/plugins/wp-syntaxhighlighter/](http://wordpress.org/extend/plugins/wp-syntaxhighlighter/)

The topic ‘Bug with paste’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-syntaxhighlighter_66666c.svg)
 * [WP SyntaxHighlighter](https://wordpress.org/plugins/wp-syntaxhighlighter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-syntaxhighlighter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-syntaxhighlighter/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-syntaxhighlighter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-syntaxhighlighter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-syntaxhighlighter/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [kartofelek007](https://wordpress.org/support/users/kartofelek007/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/bug-with-paste/)
 * Status: not resolved