Open Power Template 2.x family
PLEASE PROVIDE THE TEMPLATES AND/OR PHP CODE IN THE TASK DESCRIPTION (Not URL-s to them). THAT ALLOWS US TO REPRODUCE THE PROBLEM! OTHERWISE WE ARE NOT ABLE TO HELP YOU!
Remember to hide all the security-related pieces of code from the task description, like passwords, server paths etc. for your own safety. Once we close the task, we cannot edit it anymore!
PLEASE PROVIDE THE TEMPLATES AND/OR PHP CODE IN THE TASK DESCRIPTION (Not URL-s to them). THAT ALLOWS US TO REPRODUCE THE PROBLEM! OTHERWISE WE ARE NOT ABLE TO HELP YOU!
Remember to hide all the security-related pieces of code from the task description, like passwords, server paths etc. for your own safety. Once we close the task, we cannot edit it anymore!
FS#77 - Customizable escapers
Attached to Project:
Open Power Template
Opened by Zyx (Zyx) - Thursday, 09 April 2009, 02:25 GMT-7
Last edited by Zyx (Zyx) - Thursday, 15 April 2010, 02:47 GMT-7
Opened by Zyx (Zyx) - Thursday, 09 April 2009, 02:25 GMT-7
Last edited by Zyx (Zyx) - Thursday, 15 April 2010, 02:47 GMT-7
|
DetailsCurrently, the HTML escaping is controlled with two modifiers: **e:** and **u:** and the programmer may replace the default handler. There must be a system that allows to define more modifiers and assign the handlers for them. The areas that must be modified:
- Ability to choose the modifier for XML attributes. - Ability to choose the default global modifier. - Ability to choose the per-template modifier (changed the behaviour of "escaping" attribute). - Ability to choose the per-expression modifier. - The snippets remember the modifier they have been created with. Expected behaviour: * Each expression must use exactly one modifier (the "no-modifier" variant will be implemented as a fake modifier). * If there are two candidates for the modifier, there will be used the one with the highest priority (per-expression, per-template, global). A note about the template syntax. As we are going to use the ":" symbol to specify the expression type, too, there must be provided a hierarchy: 1. The modifiers use one-letter symbols. 2. The names of the expression engines must be at least two symbol long. |
This task depends upon