Title: Plugin creates invalid markup
Last modified: January 29, 2019

---

# Plugin creates invalid markup

 *  Resolved [dlangpap](https://wordpress.org/support/users/dlangpap/)
 * (@dlangpap)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/plugin-creates-invalid-markup/)
 * Hi,
 * The plugin creates an invalid markup if the content contains ” (quotes).
 * I updated line 29 in wp-last-modified-info/includes/frontend/schema.php
 * from
 * “text”: “<?php echo preg_replace( ‘/\r|\n/’, ”, strip_tags( strip_shortcodes(
   $post->post_content ) ) ); ?>”,
 * to
 * “text”: “<?php echo preg_replace( ‘/\r|\n/’, ”, strip_tags( strip_shortcodes(
   wptexturize($post->post_content ) )) ); ?>”,
 * Thanks,
 * Dirk L.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Sayan Datta](https://wordpress.org/support/users/infosatech/)
 * (@infosatech)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/plugin-creates-invalid-markup/#post-11146831)
 * Hi [@dlangpap](https://wordpress.org/support/users/dlangpap/)
 * Yes, you are right. I will release an update very soon!
 * Many thanks! 🙂
 * Regards
    Sayan

Viewing 1 replies (of 1 total)

The topic ‘Plugin creates invalid markup’ is closed to new replies.

 * ![](https://ps.w.org/wp-last-modified-info/assets/icon-256x256.png?rev=2844152)
 * [WP Last Modified Info](https://wordpress.org/plugins/wp-last-modified-info/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-last-modified-info/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-last-modified-info/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-last-modified-info/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-last-modified-info/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-last-modified-info/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Sayan Datta](https://wordpress.org/support/users/infosatech/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/plugin-creates-invalid-markup/#post-11146831)
 * Status: resolved