In previous versions, I created a popuptemplate with <h1>, <img>, and other HTML elements. In 4.14, it looks like a TextContent in the popupTemplate should support that same type of content. So, I create the popupTemplate with something like this:
<SPAN class="punctuation token">{</SPAN> content<SPAN class="punctuation token">:</SPAN> <SPAN class="punctuation token">[</SPAN><SPAN class="punctuation token">{</SPAN> type<SPAN class="punctuation token">:</SPAN> <SPAN class="string token">"text"</SPAN><SPAN class="punctuation token">,</SPAN> text<SPAN class="punctuation token">:</SPAN> x <SPAN class="punctuation token">}</SPAN><SPAN class="punctuation token">]</SPAN> <SPAN class="punctuation token">}</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN></SPAN>x is an html string with h1, h2, img, and table tags.
It appears that none of these html tags are rendering. the <h1> and similar tags are printed on the screen as raw text. the img source is just empty, where it should be a base64 representation of a png.
I'm not surprised that the img source is being scrubbed out, that seems like it might be done for security, but why won't the h1 tags render?