Title: &amp; amp instead &amp;&amp; in code
Last modified: May 24, 2020

---

# & amp instead && in code

 *  Resolved [Dariusz](https://wordpress.org/support/users/idarek/)
 * (@idarek)
 * [6 years ago](https://wordpress.org/support/topic/instead-in-code/)
 * `& amp ;`
 * Hi,
    Noticed an issue with plugin that been discussed on [Git](https://github.com/Automattic/syntaxhighlighter/issues/98)
   but not found a solution to fix that and string replace in functions.php not 
   working for myself. Any solution?
 * Tried in Advanced Gutenberg Block and in their [code] block code is displaying
   correctly, but don't want to change plugin just for that.
 * What I noticed, that text pasted by default between
    `<!-- wp:syntaxhighlighter/
   code -->` is inserted in `<pre>`
 * when edited in html code and removed `pre` all displaying fine
    -  This topic was modified 6 years ago by [Dariusz](https://wordpress.org/support/users/idarek/).
    -  This topic was modified 6 years ago by [Dariusz](https://wordpress.org/support/users/idarek/).
    -  This topic was modified 6 years ago by [Dariusz](https://wordpress.org/support/users/idarek/).
    -  This topic was modified 6 years ago by [Dariusz](https://wordpress.org/support/users/idarek/).

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

 *  [Renatho](https://wordpress.org/support/users/renathoc/)
 * (@renathoc)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/instead-in-code/#post-13026396)
 * Hi [@idarek](https://wordpress.org/support/users/idarek/) !
 * I tested this solution and it worked for me: [https://github.com/Automattic/syntaxhighlighter/issues/98#issuecomment-471322528](https://github.com/Automattic/syntaxhighlighter/issues/98#issuecomment-471322528)
 * Basically, I created a block with the language as `PHP`, added the code `a &&
   b < c` and it worked well. If you try to this same block, it doesn’t work for
   you?
 * If not, I recommend you to try deactivating some plugins to see if something 
   can be conflicting with the SyntaxHighlighter Evolved. Otherwise, feel free to
   contact us again with more details to reproduce your issue.
 *  [Jon Weatherhead](https://wordpress.org/support/users/jweathe/)
 * (@jweathe)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/instead-in-code/#post-13031475)
 * Deleting my comment as redundant.
    -  This reply was modified 5 years, 11 months ago by [Jon Weatherhead](https://wordpress.org/support/users/jweathe/).
    -  This reply was modified 5 years, 11 months ago by [Jon Weatherhead](https://wordpress.org/support/users/jweathe/).
    -  This reply was modified 5 years, 11 months ago by [Jon Weatherhead](https://wordpress.org/support/users/jweathe/).
    -  This reply was modified 5 years, 11 months ago by [Jon Weatherhead](https://wordpress.org/support/users/jweathe/).
 *  Thread Starter [Dariusz](https://wordpress.org/support/users/idarek/)
 * (@idarek)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/instead-in-code/#post-13036141)
 * Thank you. It didn’t work with my environment. Wiggled with plugins but there
   are also caching happening, hence too many variations that can be involved. Didn’t
   really want to add a function to the theme to add this functionality of the plugin
   hence decided to deactivate it for now and keep using Gutenberg Code block.
 * btw. Great plugin, works well for my purpose for a significant time.
 * Maybe in future, if I will need something more, I will come back to it. Hopefully,
   somebody will find a solution without need of adding function to a theme.

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

The topic ‘& amp instead && in code’ is closed to new replies.

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

 * 3 replies
 * 3 participants
 * Last reply from: [Dariusz](https://wordpress.org/support/users/idarek/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/instead-in-code/#post-13036141)
 * Status: resolved