private function applyOutputFilter(Context $context, $buffer) {
		//TODO: Currently the filtering works only on non-slot tags.
		//If applied on a slot tag, the transform is made on the special placeholder /==SLOT=.../
		//rather than the future contents of the slot.
		if($this->figFilter) {
			$filterClass = $this->figFilter;
			$filter = $this->instantiateFilter($context, $filterClass);
			$buffer = $filter->transform($buffer);
		}
		return $buffer;
	}