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

Rich text editor: Markup with non-existent resource SRCs is broken #10733

Closed
personalizedrefrigerator opened this issue Jul 10, 2024 · 0 comments · Fixed by #10734
Closed

Rich text editor: Markup with non-existent resource SRCs is broken #10733

personalizedrefrigerator opened this issue Jul 10, 2024 · 0 comments · Fixed by #10734
Labels
bug It's a bug

Comments

@personalizedrefrigerator
Copy link
Collaborator

Operating system

Linux

Joplin version

3.0.13

Desktop version info

Joplin 3.0.13 (prod, linux)

Client ID: 24b2a961cccf40fe8448cdc0930b6fce
Sync Version: 3
Profile Version: 47
Keychain Supported: No

Revision: 599cf5b

Backup: 1.4.1
CodeMirror 6 settings: 1.0.0
Freehand Drawing: 2.11.0
Joplin debug tool: 0.2.0
RevealJS Integration: 0.14.0
Work tracker: 0.0.1

Current behaviour

  1. Create a note with the following content:
    ![](:/abcdefabcdefabcdefabcdefabcdef32)
    
  2. Switch to the Rich Text Editor.
  3. Make a small change.
  4. Switch back to the Markdown editor.

Observe that the editor now has content similar to the following:

![](data:image/svg+xml;utf8,%0A%09%09<svg%20width="1700"%20height="1536"%20xmlns="http://www.w3.org/2000/svg">%0A%09%09%20%20%20%20<path%20d="M1280%201344c0-35-29-64-64-64s-64%2029-64%2064%2029%2064%2064%2064%2064-29%2064-64zm256%200c0-35-29-64-64-64s-64%2029-64%2064%2029%2064%2064%2064%2064-29%2064-64zm128-224v320c0%2053-43%2096-96%2096H96c-53%200-96-43-96-96v-320c0-53%2043-96%2096-96h465l135%20136c37%2036%2085%2056%20136%2056s99-20%20136-56l136-136h464c53%200%2096%2043%2096%2096zm-325-569c10%2024%205%2052-14%2070l-448%20448c-12%2013-29%2019-45%2019s-33-6-45-19L339%20621c-19-18-24-46-14-70%2010-23%2033-39%2059-39h256V64c0-35%2029-64%2064-64h256c35%200%2064%2029%2064%2064v448h256c26%200%2049%2016%2059%2039z"/>%0A%09%09</svg>)

See also: https://discourse.joplinapp.org/t/2024-07-07-android-four-elements-are-not-decrypted/39013/2

Expected behaviour

The original image src should be preserved.

Logs

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug
Projects
None yet
1 participant