crowdfavorite / wp-capsule

The developer's code journal (built on WordPress)
https://crowdfavorite.com/capsule/
GNU General Public License v2.0
172 stars 27 forks source link

Double ampersands operator is being encoded in PHP syntax highlighter #19

Closed stevenkword closed 11 years ago

stevenkword commented 11 years ago

For example:

<?php
if( 1 == 1 && 'foo' != 'bar' )
    die( 'My ampersands are wack' );
?>

Results in the following on the main page preview:

<?php
if( 1 == 1 &#038;& 'foo' != 'bar' )
    die( 'My ampersands are wack' );
?>