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

Quotes as entity references #140

Closed
MartinPacker opened this issue Apr 24, 2023 · 4 comments
Closed

Quotes as entity references #140

MartinPacker opened this issue Apr 24, 2023 · 4 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@MartinPacker
Copy link
Owner

Single quotes, double quotes, backticks are not available as symbols - using standard HTML entity references. Yes, they can be done using numeric character references.

It's possible Markdown should allow them to be escaped. That's worth considering, too.

@MartinPacker MartinPacker added enhancement New feature or request good first issue Good for newcomers labels Apr 24, 2023
@MartinPacker
Copy link
Owner Author

  • Backtick would be ` or perhaps be backslash escaped. Probably best to support both.
  • Double quote would be " or “ or ”, depending. Backslash escaping not a thing.
  • Single quote would be ' or ‘ or ’, depending. Backslash escaping not a thing.

@MartinPacker
Copy link
Owner Author

Coded all the above and documented. Will be in the next commit and push.

@MartinPacker
Copy link
Owner Author

At the same time refactored symbols.py to use a list of tuples. Each tuple is a search term plus its replacement.

@MartinPacker
Copy link
Owner Author

Shipped in v4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant