Ignore double pipes || inside a code block inside a Spoiler
When creating a spoiler which contains a code block, a logical or symbol uses the same two pipes as the spoiler tag. This means that a spoiler with a code block containing those symbols will break.
IE:
||```js
if(a || b) {
// do a thing
}
```\\
Breaks the spoiler block after the “a ||”.
Expected behavior is that all markdown symbols within the code block should be ignored, the same way they are for all other markdown symbols.
1
Please sign in to leave a comment.
Comments
0 comments