We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The "remove initial line feed" plugin gets triggered on "before-highlight" and changes env.code (removes the redundant initial line feed).
The php component has a hook on "before-insert", which restores env.code to env.backupCode.
The line numbering plugin gets triggered on "complete" and uses env.code to figure out how many lines there are so it counts an extra line.
Possible fix (works fine for me): env.backupCode = env.code; in the Remove Initial Line Feed plugin.
The text was updated successfully, but these errors were encountered:
@Golmote @zeitgeist87 Why do we have a remove initial line feed plugin? Isn't this covered by the whitespace normalizer?
Sorry, something went wrong.
The remove initial line feed plugin is deprecated. It says so in all caps on its page. We could remove it in the next release.
No branches or pull requests
The "remove initial line feed" plugin gets triggered on "before-highlight" and changes env.code (removes the redundant initial line feed).
The php component has a hook on "before-insert", which restores env.code to env.backupCode.
The line numbering plugin gets triggered on "complete" and uses env.code to figure out how many lines there are so it counts an extra line.
Possible fix (works fine for me): env.backupCode = env.code; in the Remove Initial Line Feed plugin.
The text was updated successfully, but these errors were encountered: