Skip to content

[Bug] PDF Export with Mermaid Diagrams and Emojis skips the text #6369

@ebarronh

Description

@ebarronh
  • Searched existing issues to avoid creating duplicates.

  • Confirmed that it can be reproduced in built-in themes without customized css.

    If it only exists in 3rd party themes or css, you can still report it, but please attach the theme target or the css file. We may not "fix" it, if it is caused by 3rd party themes or css styles that we cannot support.

  • Searched http://support.typora.io/


Describe the bug
When I am using Emojis and text for Mermaid graphs, they render nice on Typora but when you export to PDF you may lose the text value and only see the Emoji. It doesn't always happen but happens enough times.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a new .md document
  2. Write some text and add a Mermaid graph with an Emoji and text
  3. Export to PDF
  4. See that some element have only an Emoji

Expected behavior
We should always see the emoji+text or whatever value we have inside.

Screenshots / Screencasts

Image

Image

Sample Markdown File

### Emojis
This is an example of a Mermaid graph:

`mermaid
graph LR
    Agent[😓 Agent] 
    BMS[📊 Booking System]
    CRM[👥 Salesforce]
    ERP[💰 Xero]
    
    Agent -.Copy/Paste.-> BMS
    Agent -.Copy/Paste.-> CRM
    Agent -.Copy/Paste.-> ERP

Desktop (please complete the following information):

  • macOS 15.5

Typora Version
1.10.10 (7411)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions