MODx Bug/Feature Tracker and Feature Requests
Welcome to the MODx CMS Tracker. Please choose the appropriate project from the drop down menu and provide as much information as possible regarding your server environment and browser. Thanks!
FS#85 — ampersands in TV's
Attached to Project —
MODx
Opened by Anonymous Submitter - Wednesday, 19 October 2005, 05:19AM
Last edited by Ryan Thrash (rthrash) - Wednesday, 20 September 2006, 05:21PM
Opened by Anonymous Submitter - Wednesday, 19 October 2005, 05:19AM
Last edited by Ryan Thrash (rthrash) - Wednesday, 20 September 2006, 05:21PM
| Task Type | Bug Report |
|---|---|
| Category | Core Distribution |
| Status | Researching |
| Assigned To |
Garry Nutting (garryn) |
| Operating System | All |
| Severity | Very Low |
|---|---|
| Priority | Low |
| Reported Version | TP3.2 |
| Due in Version | 0.9.5 |
| Due Date | Undecided |
| Percent Complete |
|
Details
Ampersands do not automatically get converted to the ampersand html entity when used in Template Variables. For example, if I enter apples & banana's, The ampersand should be converted to &
This task depends upon
This task blocks these from closing
I'm going to test this a little bit more and commit it for the 0.9.1 release.
That said, I plan on implementing some new API methods associated with the DBAPI that will allow automatic handling of string escaping when querying, inserting or updating data, so the values returned by the API can be used without worry about this, but I don't think handling (X)HTML entities in this way is the proper approach.