LazyYT + Spoiler alert conflict breaks page

So, this post, containing a YouTube video inside a spoiler tag, seems to just completely break the page’s script (“Uncaught TypeError: Cannot read property ‘setAttribute’ of null”).

Running v1.5.8 beta 8.

Since the broken script makes it difficult to tell, this is the post in question, near the bottom of the page.

「いいね!」 1

Sure can we repro @techapj?

「いいね!」 1

Yes, I was able to repro this. Fixed via:

https://github.com/discourse/discourse-spoiler-alert/commit/1e771f775a6c7e96a255f65ea800b2ec25741ea7

「いいね!」 2