Filter handling is broken, due to the subclassing of HamlLine to HamlParser.
HamlLine does not implement the method getAsSource().
Changing line 1284 to read
$oHaml = new HamlParser($this->sPath, $this->bCompile, $parent, array('line'=>$iLine, 'file'=>$this->sFile));
however fixes this.
Furthermore, since SassParser implements sass() as a static method the callable must be passed to registerBlock in line 217 as follows:
Filter handling is broken, due to the subclassing of HamlLine to HamlParser. HamlLine does not implement the method getAsSource(). Changing line 1284 to read
however fixes this. Furthermore, since SassParser implements sass() as a static method the callable must be passed to registerBlock in line 217 as follows:
The array(instance, method) only works for non-static methods. I will submit patches for this (or a pull request) soon.