Closed vivax3794 closed 3 years ago
there is still a variation of the bug if the first line of the code is py
/python
or whatever the lang is, but I find it unlikely this will happen anyway.
wait never mind, still broken
this is not perfect BUT I have narrowed the amount of situations the bug will happen (when looking at the first line) from infinity to 1
the bug still triggers if the first line of the code matches the lang exactly for, or when the lang in the codeblock and the one outside are different.
okay I just thought of something much simpler and it works for all the situations
Can someone quickly have a look at this so that we can merge this?
Fixes #74