Silverstripe Version: 4.11
Question: How to Allow Self-Closing tag in HTMLEditor Field
We have a shortcode with inner HTML content, however the parser does not recognize the inner content when an image is inside. I believe the issue is with the tag not self-closing. The shortcode worked in SilverStripe 3 when image tags were self-closing .
How can get the tags in SilverStripe to self-close?
<img src="" alt="" /> rather than how they are now <img src="" alt="">