Hello,
What would be an appropriate method to remove HTML comments from my templates when they are rendered?
I haven't found anything about it in the documentation.
I tried \Template::instance()->extend() but this does not work with HTML comments.
I also found View::afterrender() but I don't know whether might be helpful and how to utilize it. I am not that familiar with PHP and F3.