You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<divclass="we-love-divs">
<p>This is text with <a href="/some-path">a link</a> and <strong>strong text</strong>.</p>
</div>
I expected to get this:
<divclass="we-love-divs"><p>This is text with <ahref="/some-path">a link</a> and <strong>strong text<strong>.</p></div>
So I have two questions:
Is escaped HTML the expected output of my sample code above?
Is there a better way to render Markdown that is passed to a WebC component in an attribute?
The text was updated successfully, but these errors were encountered:
Leaving a note here for my future self: I spent an embarrassingly long amount of time today attempting to add functionality to make webc parse @html with whatever webc:type is set, so that this would work as expected:
I want to pass markdown to a WebC component via an attribute. Here’s how I’m trying to do it:
The resulting HTML looks like this:
I expected to get this:
So I have two questions:
The text was updated successfully, but these errors were encountered: