A bit of an oddball question. In Drupal 7, I have a comment form page that is required to show the allowed HTML tags available to users. The default list has been added to over time so now I have about 40 different tags.
I want to display it programmatically as part of the form, but I cannot give users the option to change the text format (I want them to use the default Filtered HTML) so I've hidden the Text Format portion of the comment form using the Simplify module.
So my question is how can I output the revised list of allowed HTML?
I've rummaged through the filter module, and tried to print the results of filter_filter_info() like so:
$filter = filter_filter_info(); print_r($filter);
but all it returns is the default list of tags that comes with vanilla Drupal, maybe 10 tags or so. It doesn't show my revised list of tags at all.
I've searched for quite some time but can't find any info on how to do this, so any help would be appreciated!