7f97ca731e
Ideally, filter class should declare if it supports format_text() or format_string() or both. Also there could be another $option passed informing the filter about the type of the text.