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

Pasting text with <>, [], ~ isn't escaped #364

Closed
amyjko opened this issue Nov 27, 2023 · 0 comments
Closed

Pasting text with <>, [], ~ isn't escaped #364

amyjko opened this issue Nov 27, 2023 · 0 comments
Assignees
Labels
defect Something isn't working as intended writing Related to book authoring.
Milestone

Comments

@amyjko
Copy link
Owner

amyjko commented Nov 27, 2023

Expected behavior

Text with any Bookdown special characters should be escaped.

Actual behavior

When pasting code snippets that contain < > characters into the body text editor (using either CMD-V or the ribbon), the text isn't parsed properly, seemingly adding reference errors and phantom tokens/objects.
Related: Sometimes (not all the time? Unsure of the trigger) pasting text with < > will cause phantom references to appear at the end of the chapter.

Screenshots

@amyjko amyjko added defect Something isn't working as intended needs triage Needs to be read and labeled labels Nov 27, 2023
@amyjko amyjko self-assigned this Nov 27, 2023
@amyjko amyjko added writing Related to book authoring. and removed needs triage Needs to be read and labeled labels Nov 27, 2023
@amyjko amyjko added this to the 1.0 milestone Nov 27, 2023
@amyjko amyjko changed the title Pasting text with < and > produces references Pasting text with <>, [], ~ isn't escaped Nov 28, 2023
@amyjko amyjko closed this as completed in 9e173b8 Nov 28, 2023
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
None yet
Development

No branches or pull requests

1 participant