BlogCFC Quick Fix for Titles with Quotes

This post is more than 2 years old.

A user reported a bug in BlogCFC involving titles with quotes in them. When you edit such an entry, the form field gets broken. Since the 3.8 release is still a few days away I thought I'd post the fix since it is all of one line long. Open up editor.cfm, find the form field for title, and simply add htmlEditFormat() around the value. Here is the modified line:

<td><input type="text" name="title" value="#htmlEditFormat(form.title)#" style="width:100%"></td>

Enjoy. For those who are curious - I'm working with Paul Hastings to track down a particular small issue with RSS feeds. There have been a few small changes since the RC (including this one), so the final release will be important if you are running the RC.

Raymond Camden's Picture

About Raymond Camden

Raymond is a senior developer evangelist for Adobe. He focuses on document services, JavaScript, and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA