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

Colons for labels conflict with other uses of : #346

Open
rbohrer opened this issue Jun 7, 2023 · 1 comment
Open

Colons for labels conflict with other uses of : #346

rbohrer opened this issue Jun 7, 2023 · 1 comment
Assignees
Labels
defect Something isn't working as intended writing Related to book authoring.

Comments

@rbohrer
Copy link

rbohrer commented Jun 7, 2023

This problem will be less serious once #342 is fixed, but my text currently contains a lot of colons in it (because if I make them code mode, the escape characters go wild) and the editor UI misreads my intention as creating a "label" and then displays error about duplicate "labels" in the place where the colon should be (if the same label text appears twice). Some version of this bug will still remain after the other issue is fixed, because I copy-pasted this text into the editor and got the duplicate label errors right away, and could not easily recover the underlying text in the editor, even by converting it to code mode.

(Happy to add reproduction case upon request)

@amyjko amyjko self-assigned this Jun 10, 2023
@amyjko amyjko added defect Something isn't working as intended writing Related to book authoring. labels Jun 10, 2023
@amyjko amyjko changed the title Enhancement request?: colons for labels conflict with other uses of : Colons for labels conflict with other uses of : Jun 10, 2023
@amyjko
Copy link
Owner

amyjko commented Jun 10, 2023

This is a design flaw in the book markup syntax; it's probably worth reconsidering the use of colon as a label marker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect Something isn't working as intended writing Related to book authoring.
Projects
Status: Backlog
Development

No branches or pull requests

2 participants