Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Spoilers don't work properly for codeblocks #121

Closed
Bios-Marcel opened this issue Aug 10, 2019 · 1 comment
Closed

Spoilers don't work properly for codeblocks #121

Bios-Marcel opened this issue Aug 10, 2019 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@Bios-Marcel
Copy link
Owner

Bios-Marcel commented Aug 10, 2019

The following input will be incorrectly rendered:

||```
func main() {
Test("||")
}
```||

The problem is, that the spoilers are simply being done via regex which doesn't take account for ending tags within code.

@Bios-Marcel Bios-Marcel added the bug Something isn't working label Aug 10, 2019
@Bios-Marcel Bios-Marcel changed the title Spoilers don't work for codeblocks Spoilers don't work properly for codeblocks Aug 10, 2019
@Bios-Marcel Bios-Marcel added the good first issue Good for newcomers label Aug 12, 2019
@Bios-Marcel
Copy link
Owner Author

Has been fixed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant