e107
e107 copied to clipboard
[Feature request]: Table Captions with HTML please
Motivation
I would like to use html tags in the Caption of table render so I can add icons or other interface elements to front end pages. It seems that tablerender strips them out via e107::getParser()->toText($caption)
- and this is odd - for some themes and not others. When I change it to e107::getParser()->toHTML($caption)
then all works ok.
Proposed Solution
In e_render_class.php:
Change
401: $options['caption'] = e107::getParser()->toText($caption);
to:
401: $options['caption'] = e107::getParser()->toHTML($caption);
Alternatives
No Alternative exists.
Additional Context
No response