BlogCFC Quick Fix for Titles with Quotes

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:

<FONT COLOR=TEAL><td></FONT><FONT COLOR=NAVY><FONT COLOR=FF8000><input type=<FONT COLOR=BLUE>"text"</FONT> name=<FONT COLOR=BLUE>"title"</FONT> value=<FONT COLOR=BLUE>"#htmlEditFormat(form.title)#"</FONT> style=<FONT COLOR=BLUE>"width:100%"</FONT>></FONT></FONT><FONT COLOR=TEAL></td></FONT>

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 developer advocate for Extend by Auth0. He focuses on serverless and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support.

Lafayette, LA