René's URL Explorer Experiment


Title: id(web): inline code combined with another mark drops the other mark on save — code+link loses the link · Issue #953 · developing-today/code · GitHub

Open Graph Title: id(web): inline code combined with another mark drops the other mark on save — code+link loses the link · Issue #953 · developing-today/code

X Title: id(web): inline code combined with another mark drops the other mark on save — code+link loses the link · Issue #953 · developing-today/code

Description: Problem In the id web editor's markdown codec (pkgs/id/src/web/markdown.rs), inline code combined with any other mark loses the other mark on save. The link case is destructive: a linked code span stops being a link. Evidence (verified t...

Open Graph Description: Problem In the id web editor's markdown codec (pkgs/id/src/web/markdown.rs), inline code combined with any other mark loses the other mark on save. The link case is destructive: a linked code span ...

X Description: Problem In the id web editor's markdown codec (pkgs/id/src/web/markdown.rs), inline code combined with any other mark loses the other mark on save. The link case is destructive: a linked code s...

Opengraph URL: https://github.com/developing-today/code/issues/953

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"id(web): inline code combined with another mark drops the other mark on save — code+link loses the link","articleBody":"## Problem\n\nIn the id web editor's markdown codec (`pkgs/id/src/web/markdown.rs`), inline code combined with any other mark loses the other mark on save. The link case is destructive: a linked code span stops being a link.\n\n## Evidence (verified this run)\n\nRound-trip probe on main `a2eef6f7` (standalone crate compiling the verbatim `pkgs/id/src/web/markdown.rs` against comrak 0.56.0 + serde_json, `markdown_to_prosemirror` → `prosemirror_to_markdown`; full log in the goal's `hidden_files/probe-2026-10-26-0312/out4.log`):\n\n| Input | PM marks on the text node | Saved output |\n|---|---|---|\n| `` [`code`](https://x.test) `` | `[link(href), code]` | `` `code` `` — **link gone** |\n| `[a `code` b](https://x.test)` | link on all three segments, code additionally on the middle | `[a ](https://x.test)`code`[ b](https://x.test)` — **link fragmented, code segment unlinked** |\n| `` **`code`** `` | `[strong, code]` | `` `code` `` — strong gone |\n| `` *`code`* `` | `[em, code]` | `` `code` `` — em gone |\n| `` ~~`code`~~ `` | `[strikethrough, code]` | `` `code` `` — strikethrough gone |\n| `` `code` `` (control) | `[code]` | `` `code` `` — correct |\n\n## Root cause\n\n`create_marked_text` (`pkgs/id/src/web/markdown.rs:1117`, code-precedence early return at :1122-1130): when a `code` mark is present it returns a bare `NodeValue::Code` node immediately, discarding every other mark in the list instead of wrapping the code node in the remaining mark chain (`build_mark_chain`, :1167). The parse direction preserves the combination correctly (see the PM column above), so this is save-direction only.\n\n## Why it matters\n\nLinked code spans (`` [`api_name`](url) ``) are idiomatic in technical notes — exactly the id editor's home turf. One open + save silently unlinks them and rewrites surrounding links into fragments. Same family as #943/#944/#945 (save-direction codec corruption), distinct mechanism.\n\n## Acceptance criteria\n\n- `` [`code`](https://x.test) `` round-trips open→save with the link intact around the code span.\n- `[a `code` b](https://x.test)` round-trips as one link containing the code segment.\n- `**`code`**`, *`code`*, ~~`code`~~ round-trip with both marks preserved.\n- Plain `` `code` `` and the existing codec tests are unchanged; new unit tests in `pkgs/id/src/web/markdown.rs` cover the code+link and code+strong combinations.\n- Saved output is a stable fixpoint on a second round-trip.\n\n## Suggested fix\n\nIn `create_marked_text`, when the code mark is present, build the `Code` node first and then wrap it in the chain built from the remaining marks (mirroring `build_mark_chain`), instead of returning early. Note the wrapper order must match the non-code path so nesting (e.g. link outside, code inside) renders as `` [`code`](href) ``.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-26T08:26:59Z","url":"https://github.com/developing-today/code/issues/953"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:7df48f83-d140-6366-9861-be5c594f6245
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE9F4:F286:4EBED0:672DAD:6B061E94
html-safe-nonce710b47f8c6a25e3bc9236934d6a1cfe8032576f7b03432673f4a94e023d88efe
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOUY0OkYyODY6NEVCRUQwOjY3MkRBRDo2QjA2MUU5NCIsInZpc2l0b3JfaWQiOiIxNDI2NTE5NTEzMDkyMjAyMTMyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacca231652873f9779bb6e1c0a13024308b08e32c7443bcac156719aed6d4edf60
hovercard-subject-tagissue:6036058623
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/953/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e198fe4481ac0357518e447ad777b76d92be2eca6554b5084bc2881c1200332e/developing-today/code/issues/953
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e198fe4481ac0357518e447ad777b76d92be2eca6554b5084bc2881c1200332e/developing-today/code/issues/953
og:image:altProblem In the id web editor's markdown codec (pkgs/id/src/web/markdown.rs), inline code combined with any other mark loses the other mark on save. The link case is destructive: a linked code span ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedezren39
hostnamegithub.com
expected-hostnamegithub.com
None9a7c5824b75ea2ec5e3de73a483229c7bb9f32a774ffd401f010dd9bacf1483d
turbo-cache-controlno-preview
go-importgithub.com/developing-today/code git https://github.com/developing-today/code.git
octolytics-dimension-user_id26439447
octolytics-dimension-user_logindeveloping-today
octolytics-dimension-repository_id627308783
octolytics-dimension-repository_nwodeveloping-today/code
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id627308783
octolytics-dimension-repository_network_root_nwodeveloping-today/code
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb25c3080e84402f75431d8dc7a96b2635219cec7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/developing-today/code/issues/953#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F953
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F953
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=developing-today%2Fcode
Reloadhttps://github.com/developing-today/code/issues/953
Reloadhttps://github.com/developing-today/code/issues/953
Reloadhttps://github.com/developing-today/code/issues/953
developing-todayhttps://github.com/developing-today
codehttps://github.com/developing-today/code
Codehttps://github.com/developing-today/code
Issues1.1k (1.1k)https://github.com/developing-today/code/issues
Pull requests145 (145)https://github.com/developing-today/code/pulls
Discussionshttps://github.com/developing-today/code/discussions
Actionshttps://github.com/developing-today/code/actions
Projectshttps://github.com/developing-today/code/projects
Wikihttps://github.com/developing-today/code/wiki
Security and qualityhttps://github.com/developing-today/code/security
Insightshttps://github.com/developing-today/code/insights
https://github.com/developing-today/code
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/953
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/953
#999https://github.com/developing-today/code/pull/999
id(web): inline code combined with another mark drops the other mark on save — code+link loses the linkhttps://github.com/developing-today/code/issues/953#top
#999https://github.com/developing-today/code/pull/999
https://github.com/dezren39
app/idhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fid%22
kind/bughttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/normalhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fnormal%22
source/creatorhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fcreator%22
task/small-fixhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Fsmall-fix%22
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 26, 2026https://github.com/developing-today/code/issues/953#issue-6036058623
#943https://github.com/developing-today/code/issues/943
#944https://github.com/developing-today/code/issues/944
#945https://github.com/developing-today/code/issues/945
Nexthttps://github.com/developing-today/code/issues/953?timeline_page=1
dezren39https://github.com/dezren39
kind/bughttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
task/small-fixhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Fsmall-fix%22
status/needs-triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fneeds-triage%22
source/creatorhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fcreator%22
priority/normalhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fnormal%22
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
app/idhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fid%22
on Oct 26, 2026https://github.com/developing-today/code/issues/953#event-34238238981
github-actionshttps://github.com/apps/github-actions
dezren39https://github.com/dezren39
on Oct 26, 2026https://github.com/developing-today/code/issues/953#event-34238246883
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 26, 2026https://github.com/developing-today/code/issues/953#issuecomment-6411553274
dezren39https://github.com/dezren39
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
status/needs-triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fneeds-triage%22
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
on Oct 26, 2026https://github.com/developing-today/code/issues/953#event-34286477508
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 26, 2026https://github.com/developing-today/code/issues/953#issuecomment-6422815715
id(web): inline code combined with another mark drops the other mark on save — code+link loses the link #953https://github.com/developing-today/code/issues/953
dezren39https://github.com/dezren39
queue/parkedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fparked%22
status/parkedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fparked%22
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
on Oct 26, 2026https://github.com/developing-today/code/issues/953#event-34289397708
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 26, 2026https://github.com/developing-today/code/issues/953#issuecomment-6424035986
fix(id-web): preserve other marks on inline code on save (#953) #999https://github.com/developing-today/code/pull/999
id(world-manifest): PR #801 — plan() treats omitted grants/ceiling/schedules as authoritative, contradicting 'empty fields are left alone' (omitted ceiling widens to whole catalog) #817https://github.com/developing-today/code/issues/817
d3e7c54https://github.com/developing-today/code/commit/d3e7c548e99c1526f4f0b90f7fdff7970c19641a
id(web): inline code combined with another mark drops the other mark on save — code+link loses the link #953https://github.com/developing-today/code/issues/953
fix(id-web): preserve other marks on inline code on save (#953) #999https://github.com/developing-today/code/pull/999
fix(id-web): preserve other marks on inline code on save (#953) #999https://github.com/developing-today/code/pull/999
dezren39https://github.com/dezren39
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
status/parkedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fparked%22
queue/parkedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fparked%22
on Oct 26, 2026https://github.com/developing-today/code/issues/953#event-34291881482
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 26, 2026https://github.com/developing-today/code/issues/953#issuecomment-6424130668
fix(id-web): preserve other marks on inline code on save (#953) #999https://github.com/developing-today/code/pull/999
fix(id-web): preserve other marks on inline code on save (#953) #999https://github.com/developing-today/code/pull/999
id(web): inline code combined with another mark drops the other mark on save — code+link loses the link #953https://github.com/developing-today/code/issues/953
fix(id-web): preserve other marks on inline code on save (#953) #999https://github.com/developing-today/code/pull/999
id(web): inline code combined with another mark drops the other mark on save — code+link loses the link #953https://github.com/developing-today/code/issues/953
fix(id-web): preserve other marks on inline code on save (#953) #999https://github.com/developing-today/code/pull/999
id(web): inline code combined with another mark drops the other mark on save — code+link loses the link #953https://github.com/developing-today/code/issues/953
dezren39https://github.com/dezren39
on Oct 26, 2026https://github.com/developing-today/code/issues/953#event-34291918566
Merge pull request #999 from developing-today/queue/1102-953-code-mar…https://github.com/developing-today/code/commit/3b9d1592c05e72e19b4081c643fe018dab81c98b
#999https://github.com/developing-today/code/pull/999
3b9d159https://github.com/developing-today/code/commit/3b9d1592c05e72e19b4081c643fe018dab81c98b
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#999https://github.com/developing-today/code/pull/999
on Oct 26, 2026https://github.com/developing-today/code/issues/953#event-34291924335
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 26, 2026https://github.com/developing-today/code/issues/953#issuecomment-6424142956
fix(id-web): preserve other marks on inline code on save (#953) #999https://github.com/developing-today/code/pull/999
fix(id-web): preserve other marks on inline code on save (#953) #999https://github.com/developing-today/code/pull/999
3b9d159https://github.com/developing-today/code/commit/3b9d1592c05e72e19b4081c643fe018dab81c98b
id(web): inline code combined with another mark drops the other mark on save — code+link loses the link #953https://github.com/developing-today/code/issues/953
fix(id-web): preserve other marks on inline code on save (#953) #999https://github.com/developing-today/code/pull/999
dezren39https://github.com/dezren39
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
on Oct 26, 2026https://github.com/developing-today/code/issues/953#event-34291957319
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/953
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/953
dezren39https://github.com/dezren39
app/idhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fid%22
kind/bughttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/normalhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fnormal%22
source/creatorhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fcreator%22
task/small-fixhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Fsmall-fix%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.