Jump to content

Code highlighting feature doesn't decode entities on preview


448191

Recommended Posts

When I post this, it properly decodes. Not so on preview.

[code]<?php
$dog->eat(‘cookie’);
?>[/code]

[quote]<?php
$dog->eat(&#8216;cookie&#8217;);
?>[/quote]

[b]Edit:[/b] realized this has to do with different types of quotes.

Difference between [b]'[/b] &#39 (apostrophe) and [b]‘[/b] &#8216 (left single quotation mark)

Damn Word.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.