Closed TommyLindh2 closed 1 month ago
@john-traas @adrianschmidt - I'll create a PR based on Johns code, and let's start from there
The component is not meant to render complex HTML, it is meant to render markdown and some simple HTML for formatting content more precise. So we will close this PR/Issue and it's up to the consumer to actually pass a valid content
Current behavior
This is a continued conversation from this issue: https://github.com/Lundalogik/lime-elements/issues/3149
Faulty rendering of HTML if line breaks separate opening and closing of elements Here's an example that will render incorrectly:
It will render the
</style></span>
as textImage from Lime elements docs - v37.61.8
Expected behavior
It shouldn't render the HTML elements, but instead render it as a complete HTML. The above example should just state the text
Hello2
Suggested solution by John from previous issue
Environment