Vitus

Results 10 issues of Vitus

It would be super cool if there was a way to get a list of all permissions. Because right now when you get a permission denied Exception somewhere it is...

In Haml a double equals interpolates a string the same way that a single equals interpolates ruby code, although the doc itself is quite quiet about that. So this ```...

This is one of those iffy ones: Should we allow ruby comments (-#) as well as Php style (-//) comments? Some if the parsers that I tested do, because they...

In Haml HTML-style aatributes work just like attribute hashes. So this: ``` haml %html(xmlns="http://www.w3.org/1999/xhtml") ``` should result in this ``` html ``` Instead phphaml outputs this: ``` php > ```

The title says it all, php code interpolation in plain test does not work. ``` php %p You've pressed #{$_POST['run']} times on the submit button. ``` should result in ```...

Haml allows tabs as well as any amount of spaces as long as they are kept consistent. phphaml only recognizes multiples of 2. In addition whitespace inside of filters (think...

Haml comes predefined with quite a few filters (javascript, css etc). These should be implemented by default in phphaml. I already wrote a class for this, will submit it to...

Filter handling is broken, due to the subclassing of HamlLine to HamlParser. HamlLine does not implement the method getAsSource(). Changing line 1284 to read ``` php $oHaml = new HamlParser($this->sPath,...

Code insertation following a '=' does not need a space. ``` php -for ($i = 0; $i < 5; $i++) =$i ``` should work. in PhpHaml however the resulting template...

RegExp Objects, that is Regular Expressions created with /.../ were used wrongly throughout the code, as first remarked by boog. They cannot be matched on a string just like: /.../(string),...