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

Header args and results of source blocks mess up the org buffer when editing in browser #36

Closed
TobiasZawada opened this issue Jan 22, 2022 · 1 comment

Comments

@TobiasZawada
Copy link
Contributor

TobiasZawada commented Jan 22, 2022

Exporting the following org file to html and editing the list in the browser messes up the org file:

#+TITLE: Some Test for ehtml with source blocks

* First Section
Some source block that could mess up the org buffer:
#+BEGIN_SRC emacs-lisp :export results
"hello"
#+END_SRC

#+RESULTS:
: hello

- here
- we
- have
- a
- list

This is caused by def-ehtml-wrap using positions of the export buffer which is a modified copy of the original org buffer.
Header args and results are removed.

TobiasZawada added a commit to TobiasZawada/org-ehtml that referenced this issue Jan 22, 2022
TobiasZawada added a commit to TobiasZawada/org-ehtml that referenced this issue Jan 22, 2022
@TobiasZawada
Copy link
Contributor Author

TobiasZawada commented Feb 9, 2022

Hi,
I am running org-ehtml with 23fb5e9 on a daily basis with a 3.8kB Org-file without any complaints for over half-a-month now.
So, it looks like it is safe.

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

1 participant