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

neuron new should wrap title in quote #163

Closed
srid opened this issue May 8, 2020 · 0 comments
Closed

neuron new should wrap title in quote #163

srid opened this issue May 8, 2020 · 0 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@srid
Copy link
Owner

srid commented May 8, 2020

Caught this issue via neuron-mode.

To reproduce:

  • SPC z z
  • Enter a title with special characters (eg: :).
  • Emacs will show this error
File content/fa9766e6.md added to project /home/srid/code/srid.ca/ cache.
json-read: JSON readtable error: 82

A fix probably would be to wrap such (all?) titles in double quotes. And escape quotes inside the title as well. Or just better, use HsYAML to encode it properly.

@srid srid added the good first issue Good for newcomers label May 10, 2020
@srid srid self-assigned this May 17, 2020
@srid srid closed this as completed in e5a807d May 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant