Strange Drupal Behavior - 7.x {C}

posted Mar 11, 2014, 7:34 AM by Andrew Chadick
Fairly Recently one of the sites I manage started inserting {C} in to various places in the forms on the site.  I would go in and remove them, and used both the WYSIWYG editor and used the Source directly and removed them... but oddly enough, they come back. Usually in groups.  {C}{C}{C}  
It's easy enough to delete them, and click Save.  And, initially they are gone for a time, a day, two, maybe a week.  They just re-occur.

Well today, I noticed something that I hadn't noticed before.  A pattern.  The {C} characters would appear in source directly preceding old fashioned HTML Comments.  Anything like: <!-- Custom Text Here -->.  So, I tried something different, I removed the {C} and the comment.  The strange character insertions stopped.  

Odd behavior, but, there is a way to stop them from popping up though!  
Comments