-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
source-code-edit breaks file if containing {} #4256
Comments
I could reproduce it. You are saving kind of invalid bibtex data. If you first remove the { in front and then at the end }, the entry is correct. By removing one
|
We should display a warning instead of messing up the bibtex code in the file, when the parser is not able to make sense of the input or there is another issue. I'll thus mark this as a bug. |
@Siedlerchr : I wanted to change The only solution is to first remove the closing bracket and then the opening bracket, but that's not how somebody would edit. |
Can I work on this issue? |
@frasca80 Sure, go ahead! Your solution sound good |
@frasca80 Sure, feel free to work on it. A problem I see with your suggested solution is that leaving the source code editor after removing the initial |
@tobiasdiez you're right but unfortunately if the user removes only the first |
Thanks to @frasca80 this issue should now be fixed in the latest master! |
JabRef 5.0-dev--snapshot--2018-07-12--master--dd9b22911
Linux 4.15.0-30-generic amd64
Java 1.8.0_181
Steps to reproduce:
Log:
The text was updated successfully, but these errors were encountered: