Skip to content

It seems to destroy some of the structure. #29

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

Closed
nasyxx opened this issue Feb 6, 2018 · 1 comment
Closed

It seems to destroy some of the structure. #29

nasyxx opened this issue Feb 6, 2018 · 1 comment

Comments

@nasyxx
Copy link

nasyxx commented Feb 6, 2018

Before:
screen shot 2018-02-06 at 8 07 02 pm
screen shot 2018-02-06 at 8 07 25 pm
After:
screen shot 2018-02-06 at 8 08 32 pm
screen shot 2018-02-06 at 8 08 40 pm

Is there any way to avoid this happening?

@wcoder
Copy link
Owner

wcoder commented Feb 17, 2018

Hi @nasyxx, thanks for the feedback.

This is a known issue in the latest version of the plugin.

I tried to fix it in dev branch, please try it, should help you:

https://github.com/wcoder/highlightjs-line-numbers.js/blob/bugfixes/multiline-nodes/src/highlightjs-line-numbers.js

wcoder added a commit that referenced this issue Feb 22, 2018
@wcoder wcoder closed this as completed Feb 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants