Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

White space indentation added on Firefox when using linenums class #603

Open
HowToSolutions opened this issue Dec 7, 2019 · 0 comments
Open

Comments

@HowToSolutions
Copy link

Hi,

I just noticed that when I copy the highlighted code using the code-prettify and it is using linenums class in Firefox and then I paste in text editor, it also inserts empty spaces before each line. This only seems to happen in Firefox and when all the code is selected. If I miss a character at the beginning or the end, then this does not occur.

The highlighted code found at Gallery of themes for code prettify can be used as an example of this behavior.

This behavior is especially annoying when copying the Python code. :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant