&'s (ampersands) not always escaped

Freso - May 4, 2008 - 09:14
Project:Code Filter
Version:5.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I just tried to make a comment here on Drupal.org, where I needed to demonstrate something with ' - an apostrophe. So I used <code /> to escape it. Only, it didn't: &#39;. I then tried to do &amp;#39;, but &amp; is being escaped. So it would seem that the filter doesn't escape ampersands in ampersand-hash-foo-semicolon cases. Is there a reason it isn't just always escaped?

 
 

Drupal is a registered trademark of Dries Buytaert.