{ "issue": { "url": "https://api.github.com/repos/laurent22/joplin/issues/14686", "repository_url": "https://api.github.com/repos/laurent22/joplin", "labels_url": "https://api.github.com/repos/laurent22/joplin/issues/14686/labels{/name}", "comments_url": "https://api.github.com/repos/laurent22/joplin/issues/14686/comments", "events_url": "https://api.github.com/repos/laurent22/joplin/issues/14686/events", "html_url": "https://github.com/laurent22/joplin/pull/14686", "id": 4055120669, "node_id": "PR_kwDOBLftOs7JjWOl", "number": 14686, "title": "All: Fixes #14078: Fix preservation of HTML in MD", "user": { "login": "shamblonaut", "id": 57855121, "node_id": "MDQ6VXNlcjU3ODU1MTIx", "avatar_url": "https://avatars.githubusercontent.com/u/57855121?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shamblonaut", "html_url": "https://github.com/shamblonaut", "followers_url": "https://api.github.com/users/shamblonaut/followers", "following_url": "https://api.github.com/users/shamblonaut/following{/other_user}", "gists_url": "https://api.github.com/users/shamblonaut/gists{/gist_id}", "starred_url": "https://api.github.com/users/shamblonaut/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/shamblonaut/subscriptions", "organizations_url": "https://api.github.com/users/shamblonaut/orgs", "repos_url": "https://api.github.com/users/shamblonaut/repos", "events_url": "https://api.github.com/users/shamblonaut/events{/privacy}", "received_events_url": "https://api.github.com/users/shamblonaut/received_events", "type": "User", "user_view_type": "public", "site_admin": false }, "labels": [ { "id": 519700741, "node_id": "MDU6TGFiZWw1MTk3MDA3NDE=", "url": "https://api.github.com/repos/laurent22/joplin/labels/bug", "name": "bug", "color": "cf353b", "default": true, "description": "It's a bug" }, { "id": 1802916084, "node_id": "MDU6TGFiZWwxODAyOTE2MDg0", "url": "https://api.github.com/repos/laurent22/joplin/labels/renderer", "name": "renderer", "color": "91ca55", "default": false, "description": "About the note renderer" } ], "state": "closed", "locked": false, "assignees": [], "milestone": null, "comments": 5, "created_at": "2026-03-11T01:29:06Z", "updated_at": "2026-03-12T22:01:01Z", "closed_at": "2026-03-12T18:43:53Z", "assignee": null, "author_association": "NONE", "active_lock_reason": null, "draft": false, "pull_request": { "url": "https://api.github.com/repos/laurent22/joplin/pulls/14686", "html_url": "https://github.com/laurent22/joplin/pull/14686", "diff_url": "https://github.com/laurent22/joplin/pull/14686.diff", "patch_url": "https://github.com/laurent22/joplin/pull/14686.patch", "merged_at": null }, "body": "## Problem\r\n\r\nHTML code written within the Markdown Editor was being lost in the conversion to HTML and back with the Rich Text Editor. There was existing functionality to properly handle this by attaching the `jop-noMdConv` class to all tags internally, but it was being lost in the conversion back to markdown due to more prominent rules (such as for strong, em, etc.). This led to a problem where invalid markdown syntax with markdown text within HTML tags was being produced.\r\n\r\nFor example,\r\n```md\r\n**Hello**\r\n\r\n
Hello
\r\n