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#86 - Expression in curly brackets and comments

Attached to Project: Open Power Template
Opened by Skruppy (Skrupellos) - Friday, 15 May 2009, 14:08 GMT-8
Last edited by Zyx (Zyx) - Saturday, 16 May 2009, 04:44 GMT-8
Task Type Bug Report
Category Compiler
Status Closed
Assigned To No-one
Operating System OS-independent
Severity Low
Priority Normal
Reported Version 2.0-RC1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

DESCRIPTION:
Expressions in curly brackets above comments won't be executed.


EXAMPLE:
--- template ---
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<opt:root>
{$foo is true}
<!-- I can destroy your template :P -->

<b opt:if="$foo === true">It works</b>
</opt:root>
--- END template ---


RESULT:
--- code ---
--- END code ---


EXPECTED:
--- code ---
<b>It works</b>
--- END code ---
This task depends upon

Closed by  Zyx (Zyx)
Saturday, 16 May 2009, 04:44 GMT-8
Reason for closing:  Fixed
Additional comments about closing:  Fixed in rev. 109

Loading...