Invenzzia »

IMPORTANT ANNOUNCEMENT

Due to the uncertain status of the Flyspray project, lack of new releases and moving the code repository to Github, we decided to shutdown this issue tracker by the end of January 2011. From that date, the bugs should be reported directly in Github project repositories.

List of repositories:

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!
Tasklist

FS#68 - all & are replaced with &

Attached to Project: Open Power Template
Opened by nediam (nediam) - Thursday, 26 March 2009, 14:54 GMT-8
Last edited by Zyx (Zyx) - Friday, 10 April 2009, 08:04 GMT-8
Task Type Bug Report
Category Compiler
Status Closed
Assigned To Zyx (Zyx)
Operating System All
Severity High
Priority Normal
Reported Version 2.0 SVN
Due in Version 2.0-beta3
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

All & are replaced with &
Even   becomes  

error affects svn rev 66
This task depends upon

Closed by  Zyx (Zyx)
Friday, 10 April 2009, 08:04 GMT-8
Reason for closing:  Outdated
Additional comments about closing:  Outdated as of rev. 76.
Comment by Zyx (Zyx) - Friday, 27 March 2009, 02:55 GMT-8
I've added a new "entitizing" function that does not replace the ampersands that already create the entities. The current behaviour is:

  ->  
  ->  
  ->  

These rules affect only the static text and are not used to escape the template variables. Please test it and send the feedback AS SOON AS POSSIBLE, because I won't wait for ages if the unit tests show that everything is OK.
Comment by nediam (nediam) - Saturday, 28 March 2009, 09:37 GMT-8
now it's ok :)
Comment by Jacek Jędrzejewski (eXtreme) - Saturday, 28 March 2009, 10:36 GMT-8
Why does OPT such a convertion? Single "&" (unescaped) is not a correct syntax and IMO OPT should throw an exception :P
Comment by Zyx (Zyx) - Sunday, 29 March 2009, 00:38 GMT-8
The problem was it was destroying the entities. Single occurence is still replaced to the entity. According to the XML standards, OPT *should not* keep the entities in the output document at all.

Loading...