<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <updated>2026-08-24T12:06:31Z</updated>
  <generator>https://nostr.now</generator>

  <title>Nostr notes by Stuart Langridge</title>
  <author>
    <name>Stuart Langridge</name>
  </author>
  <link rel="self" type="application/atom+xml" href="https://nostr.now/npub1df5gwmpqcp2lyuy4yt4y9e3ucz3ajfw5c4u62y90p537ej48eqqql9nmjq.rss" />
  <link href="https://nostr.now/npub1df5gwmpqcp2lyuy4yt4y9e3ucz3ajfw5c4u62y90p537ej48eqqql9nmjq" />
  <id>https://nostr.now/npub1df5gwmpqcp2lyuy4yt4y9e3ucz3ajfw5c4u62y90p537ej48eqqql9nmjq</id>
  <icon>https://files.mastodon.social/accounts/avatars/000/004/198/original/hackergotchi-simpler.png</icon>
  <logo>https://files.mastodon.social/accounts/avatars/000/004/198/original/hackergotchi-simpler.png</logo>




  <entry>
    <id>https://nostr.now/nevent1qqs23xrvczf8xe5gnauucu0k056j8lqjc0m2gad58q9flvc390hca2szyp4x3pmvyrq9tunsj53w5shx8nq28kf96nzhnfgs4uxj8mx25lyqqpr3haf</id>
    
      <title type="html">hey, people who know about the HTML Sanitizer API, two questions. ...</title>
    
    <link rel="alternate" href="https://nostr.now/nevent1qqs23xrvczf8xe5gnauucu0k056j8lqjc0m2gad58q9flvc390hca2szyp4x3pmvyrq9tunsj53w5shx8nq28kf96nzhnfgs4uxj8mx25lyqqpr3haf" />
    <content type="html">
      hey, people who know about the HTML Sanitizer API, two questions.&lt;br/&gt;1. am I right in thinking that if I&amp;#39;ve got a string of HTML I want sanitized, and what I want is a string of sanitized HTML (_not_ to insert it into the page), then I need to do something like temp=document.createElement(&amp;#34;div&amp;#34;); temp.setHTML(unsafeHTML); safeHTML=temp.innerHTML ?&lt;br/&gt;2. &lt;a href=&#34;https://github.com/AegisJSProject/sanitizer&#34;&gt;https://github.com/AegisJSProject/sanitizer&lt;/a&gt; seems an OK polyfill? (gotta polyfill it, it&amp;#39;s not in Safari at all, it seems)
    </content>
    <updated>2026-08-20T12:42:13Z</updated>
  </entry>

</feed>