I see, yeah, that’s pretty shit. And just as annoying as not being able to use spaces in snippets for Kirbytags.
I just did a quick test and included php-markdown in a component plugin. It renders the script tags OK.
So it’s probably an issue with the used version of Parsedown, but I guess it was used for a reason.