Mobile: Image-Caption, maybe a bug?

davix / 2017-02-20 12:55:32   

format.mobile.php
On line 200 TAGS are stripped out... But I like them.
Is it ok if I bring them back like that:

  1. if ($img['media_caption'] != '') $txt .= "<span class='image-caption'>" . strip_tags($img['media_caption'], '<a> <strong> <p> <etc...>');

or is there an important reason why they are stripped?

Thank you!

Vaska A / 2017-02-20 14:39:23   

Hmmm, why is that there? But, it allows links, bold and italic. What else would you need?

I believe it's there to deal with some paragraph issues...

This thread has been closed, thank you.