Nothing Special   »   [go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable shorthand markup parsing inside CODE and PRE #2202

Open
fantasai opened this issue Dec 28, 2021 · 1 comment
Open

Disable shorthand markup parsing inside CODE and PRE #2202

fantasai opened this issue Dec 28, 2021 · 1 comment

Comments

@fantasai
Copy link
Contributor
fantasai commented Dec 28, 2021

Bikeshed is choking on things like A|B|C or [D] inside CODE and PRE because it thinks this is some kind of markup. Please make it treat everything other than actual tags as literals inside CODE and PRE. :(

(I'm pretty sure most specs are not expecting Bikeshed to eat random bits of punctuation in their code blocks and that this is causing unnoticed breakage.)

fantasai added a commit to w3c/csswg-drafts that referenced this issue Dec 28, 2021
* Escapes brackets to avoid fatal error
* Adds issue about Bikeshed eating pipes

See speced/bikeshed#2202
@jyasskin jyasskin added the bug label Dec 14, 2022
@jyasskin jyasskin added this to the Improve parsing milestone Dec 14, 2022
@frivoal
Copy link
Contributor
frivoal commented Jan 16, 2023

Temporarily worked around in it css-pseudo-4 by replacing A|B|C with A\|B\|C. I don't think this is documented anywhere, but it does seem to work.

@jyasskin jyasskin removed this from the Improve parsing milestone Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants