Title: Shortcode encoding error.
Last modified: October 1, 2021

---

# Shortcode encoding error.

 *  Resolved [pixluser](https://wordpress.org/support/users/pixluser/)
 * (@pixluser)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/shortcode-encoding-error/)
 * Hello,
 * I’ve got a problem, the plugin is encoding the quotes, and then show nothing 
   with the shortcode :
 * By example : `'Firstname Last+d'name'` is well displayed in html,
 * but in the zotpress part the char are encoded by the plugin :
 * html source of the page :
    `<span class="ZP_AUTHOR" style="display: none;">Firstname
   Last+d& # 0 3 9 ;Name</span>`
 * the quote : ‘ is converted to `& # 0 3 9 ;` (without spaces)
 * And then the shortcode don’t work and don’t find any publications for this badly
   encoded search.
 * What does I need to modify into the plugin ?
    -  This topic was modified 4 years, 7 months ago by [pixluser](https://wordpress.org/support/users/pixluser/).
    -  This topic was modified 4 years, 7 months ago by [pixluser](https://wordpress.org/support/users/pixluser/).
    -  This topic was modified 4 years, 7 months ago by [pixluser](https://wordpress.org/support/users/pixluser/).
    -  This topic was modified 4 years, 7 months ago by [pixluser](https://wordpress.org/support/users/pixluser/).
    -  This topic was modified 4 years, 7 months ago by [pixluser](https://wordpress.org/support/users/pixluser/).

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

 *  Thread Starter [pixluser](https://wordpress.org/support/users/pixluser/)
 * (@pixluser)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/shortcode-encoding-error/#post-14935400)
 * Look like the problem is elsewhere… I modded the php, everything is well displayed
   in the html sourcecode… but still no luck to show the publications of an user
   with a name like that :
 * `Firstname Lastname d'Stilllastname`
 * I think it’s a bug in the code of the plugin, as the name is well found the zotero
   group online…
 * Does the developer of the plugin can help me?
    [@kseaborn](https://wordpress.org/support/users/kseaborn/)
    -  This reply was modified 4 years, 7 months ago by [pixluser](https://wordpress.org/support/users/pixluser/).
    -  This reply was modified 4 years, 7 months ago by [pixluser](https://wordpress.org/support/users/pixluser/).
 *  Plugin Author [Katie](https://wordpress.org/support/users/kseaborn/)
 * (@kseaborn)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/shortcode-encoding-error/#post-14998632)
 * Yes, I can replicate the bug (which is a combination of multipart last names 
   and the apostrophe). I should have a fix in 7.3.

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

The topic ‘Shortcode encoding error.’ is closed to new replies.

 * ![](https://ps.w.org/zotpress/assets/icon-256x256.png?rev=1995512)
 * [Zotpress](https://wordpress.org/plugins/zotpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/zotpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/zotpress/)
 * [Active Topics](https://wordpress.org/support/plugin/zotpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/zotpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/zotpress/reviews/)

## Tags

 * [author](https://wordpress.org/support/topic-tag/author/)
 * [last name](https://wordpress.org/support/topic-tag/last-name/)
 * [name](https://wordpress.org/support/topic-tag/name/)

 * 2 replies
 * 2 participants
 * Last reply from: [Katie](https://wordpress.org/support/users/kseaborn/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/shortcode-encoding-error/#post-14998632)
 * Status: resolved