Title: Small Fix, valid DOMDocument
Last modified: August 24, 2016

---

# Small Fix, valid DOMDocument

 *  Resolved [Iazel](https://wordpress.org/support/users/iazel/)
 * (@iazel)
 * [11 years ago](https://wordpress.org/support/topic/small-fix-valid-domdocument/)
 * File:
    wp-content/plugins/slideshow-jquery-image-gallery/views/SlideshowPluginShortcode/
   shortcode-inserter.php
 * Line: 2
 *     ```
       href="#TB_inline?width=450&inlineId=insertSlideshowShortcode"
       ```
   
 * Others plugin use DOMDocumentFragment to manipulate the shortcode list, but it
   seems that `&` is interpreted as a special char and this warning will popup:
 *     ```
       Warning: DOMDocumentFragment::appendXML(): Entity: line 2: parser error : EntityRef: expecting ';'
       ```
   
 * Changing it to `& amp;` (remove the space between `&` and `a`) will resolve the
   issue.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Stefan Boonstra](https://wordpress.org/support/users/stefanboonstra/)
 * (@stefanboonstra)
 * [11 years ago](https://wordpress.org/support/topic/small-fix-valid-domdocument/#post-6070506)
 * Thank you very much for reporting this issue. Your fix has been applied in version
   2.2.23 of the slideshow plugin, which will be released soon.

Viewing 1 replies (of 1 total)

The topic ‘Small Fix, valid DOMDocument’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/slideshow-jquery-image-gallery_d3d2de.
   svg)
 * [Slideshow](https://wordpress.org/plugins/slideshow-jquery-image-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/slideshow-jquery-image-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/slideshow-jquery-image-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/slideshow-jquery-image-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/slideshow-jquery-image-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/slideshow-jquery-image-gallery/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Stefan Boonstra](https://wordpress.org/support/users/stefanboonstra/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/small-fix-valid-domdocument/#post-6070506)
 * Status: resolved