show intro text with html elements on Related Items Extended

hello,
in my intro text i have some Headlines, i want to see them in my intro text but the module strips the "Headlines" H1 H2 H3 from the intro text ? is it possible to enable it ? please advice ?

i didn't saw any option in the module back end.. is it even possible on the latest version ?
9 years 10 months ago #1 by Ben Koren

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5310) Offline
Hi benjoman,
Yes it's not possible to add allowed tags from the backend, but if you're really need that, you can modify the file
../modules/mod_relateditems_xtd/helper.php , at lines 377 you will see this code
$introtext = strip_tags($introtext, '<a><em><strong>');
try to change that to :
$introtext = strip_tags($introtext, '<h1><h2><h3><a><em><strong>');
9 years 10 months ago #2 by TemplatePlazza

Please Log in or Create an account to join the conversation.

An option Strip HTML: yes/no would be nice.
8 years 9 months ago #3 by Marc Leger

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum