This fix is sort of annoying because it means I need to rewrite how spoilers are handled. Right now spoilers are converted to html tags and then I use HTML processing to resolve them in a nice way. However as you can imagine, I can't do this if I disable HTML tag processing. Anyways I do have a working toy solution but I think it's a bit rough around the edges.