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

Broken formatting in Prism #496

Closed
jcubic opened this issue May 27, 2019 · 1 comment
Closed

Broken formatting in Prism #496

jcubic opened this issue May 27, 2019 · 1 comment
Labels
Bug resolved if issue is resolved, it will be open until merge with master

Comments

@jcubic
Copy link
Owner

jcubic commented May 27, 2019

Expected behavior

You can type '("\ into terminal with prism scheme formatter.

Actual behavior

if you type this, you will get '("\] and if you move the cursor to the left cursor have "\] inside.

Steps to reproduce

Visit https://jcubic.github.io/lips/

@jcubic
Copy link
Owner Author

jcubic commented May 27, 2019

This is bug in prism.js terminal file, jQuery Terminal don't work well if there is single backslash before closing ] in formatting, solution is replace(/\\/g, '\').

@jcubic jcubic added the Bug label May 27, 2019
@jcubic jcubic changed the title Broken formatting Broken formatting in Prism May 27, 2019
@jcubic jcubic added the resolved if issue is resolved, it will be open until merge with master label Jun 1, 2019
@jcubic jcubic closed this as completed Jun 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug resolved if issue is resolved, it will be open until merge with master
Projects
None yet
Development

No branches or pull requests

1 participant