-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Desktop: Export of mermaid render no longer works on 2.6.4+ #5879
Comments
Results of me playing around: It is broken in the same commit as the other issue, the html pack commit 98ed2be Did some more playing and got rid of just the last function and got the graph back, so it is something in there or something that it calls upon. (commented out the whole last Played a bit more and changed this line
this.packIntoSingleFile_ = 'packIntoSingleFile' in options ? options.packIntoSingleFile : false;
Is there a reason why exporting to PDF needs to go via the additional code added for the HTML single file packing? The change notes imply this should only fire for exporting as a single HTML. |
Not that I can think of, but I didn't make that change. I remember a few issues we had a while back with toc not working when certain unicode characters were used in headings. But it had nothing to do with single file packing. |
Hmm, yes if it can't be fixed in htmlpack we can probably just bypass it for PDF export. It's indeed not necessary in this case. |
In the 2.5.12 version of the test, working fine, but in the latest 2.6.9 version, when exporting PDF and html mermaid render effect will not work. |
PDF and HTML File export of mermaid renders stopped working on 2.6.9 and shows up as plain code
Environment
Joplin version: 2.6.9
First appears at 2.6.4: 2.6.2 is unaffected
wonder if commit 98ed2be might have something to do with it
Platform: prod, win32; prod, linux is untested
OS specifics: Tested on Windows 7, reported on Mac OS 12.0.1 as well
Steps to reproduce
Describe what you expected to happen
The rendered graph to be present in exported document
Notes
Logfile
The text was updated successfully, but these errors were encountered: