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

Fix pasting of LaTeX #3520

Merged
merged 3 commits into from
Apr 20, 2024
Merged

Fix pasting of LaTeX #3520

merged 3 commits into from
Apr 20, 2024

Conversation

PHPirates
Copy link
Collaborator

Fix #3463

Summary of additions and changes

  • Disable replacements which would break valid LaTeX (we cannot detect whether something is LaTeX)
  • Preserve newlines

How to test this pull request

Paste all of this, including this italic text to activate the html handler

            \newcommand{\mylabel}[1]{\label{#1}}

            \section{One}\mylabel{sec:one}
  • Updated the documentation, or no update necessary
  • Added tests, or no tests necessary

@PHPirates PHPirates added this to the Next milestone Apr 19, 2024
@PHPirates PHPirates merged commit 897ea96 into master Apr 20, 2024
11 checks passed
@PHPirates PHPirates deleted the copy-latex branch April 20, 2024 10:34
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

Successfully merging this pull request may close these issues.

Copying LaTeX does not work well with default settings
1 participant