Title: &amp; #038;
Last modified: February 28, 2025

---

# & #038;

 *  Resolved [developmentvict](https://wordpress.org/support/users/developmentvict/)
 * (@developmentvict)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/18334106/)
 * To resolve a (temporary) bug in Litespeed Cache ESI I’ve been instructed to add
   the following code:
 * function buffer_output_after( $content ) { 
   $content = str_replace(‘& #038;’,‘&’,
   $content); [space between & and # added on purpose]return $content; } add_filter(‘
   litespeed_buffer_after’, ‘buffer_output_after’, 0);
 * But in Code Snippets plugin editor (after saving) this is automatically replaced
   by:
   function buffer_output_after( $content ) { $content = str_replace(‘&’, ‘&’,
   $content);return $content; }
 * This replacement actually renders the entire function ineffective. Is there any
   way to achieve it within Code Snippets?
    -  This topic was modified 1 year, 2 months ago by [developmentvict](https://wordpress.org/support/users/developmentvict/).
    -  This topic was modified 1 year, 2 months ago by [developmentvict](https://wordpress.org/support/users/developmentvict/).
    -  This topic was modified 1 year, 2 months ago by [developmentvict](https://wordpress.org/support/users/developmentvict/).
    -  This topic was modified 1 year, 2 months ago by [developmentvict](https://wordpress.org/support/users/developmentvict/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Atif Riaz](https://wordpress.org/support/users/lightbulbman/)
 * (@lightbulbman)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/18334106/#post-18347118)
 * Hello [@developmentvict](https://wordpress.org/support/users/developmentvict/)
 * Thanks for raising your query,
 * Can you kindly share more details or perhaps send a screen recording to our support
   email as I have copied your code into a new php snippet using single quotes and
   I had no issues to do this.
 * Many thanks

Viewing 1 replies (of 1 total)

The topic ‘& #038;’ is closed to new replies.

 * ![](https://ps.w.org/code-snippets/assets/icon.svg?rev=2148878)
 * [Code Snippets](https://wordpress.org/plugins/code-snippets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/code-snippets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/code-snippets/)
 * [Active Topics](https://wordpress.org/support/plugin/code-snippets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/code-snippets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/code-snippets/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Atif Riaz](https://wordpress.org/support/users/lightbulbman/)
 * Last activity: [1 year, 2 months ago](https://wordpress.org/support/topic/18334106/#post-18347118)
 * Status: resolved