[ad_1]
Inside a JS snippet I want the following:
document.getElementsByClassName("some-class")[0].innerHTML = "<p>Some text <a href='/page/' target='_blank' rel='noopener'>Link</a>.</p>";
The problem is that when I click Update, it automatically converts rel='noopener' to rel="noopener", which doesn’t work because it is already inside “…”. I’ve even tried to completely remove rel='noopener' but then when I hit the Update button it automatically puts it back.
How can I make this work?
