Skip to content

fix: preserve literal Markdown inside inline code - #170

Draft
xiaoheiai4719-collab wants to merge 1 commit into
google:mainfrom
xiaoheiai4719-collab:fix/preserve-inline-code-literals
Draft

xiaoheiai4719-collab wants to merge 1 commit into
google:mainfrom
xiaoheiai4719-collab:fix/preserve-inline-code-literals

Conversation

@xiaoheiai4719-collab

Copy link
Copy Markdown

Summary

Keep inline code out of the emphasis and strikethrough replacements, then restore it unchanged. This prevents examples such as **literal**, __name__, a*b*c, and ~~literal~~ from being formatted inside code spans.

The existing escaping and single-backtick matching remain in place. Formatting around code spans still works. Regression tests cover multiple spans, delimiter boundaries, HTML escaping, and literal placeholder-like text.

Validation

  • Baseline with the new parser specs: 21 failed, 8 passed
  • Fixed parser specs: 29 passed
  • Six utility spec files: 112 passed with Jasmine under Node
  • Frontend production build and spec TypeScript check passed
  • ChromeHeadless test bundles compiled, but Chromium could not launch because this environment blocks its local socket creation. Browser execution still needs verification

@google-cla

google-cla Bot commented Oct 6, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

giveUphope added a commit to giveUphope/autoGamer that referenced this pull request Oct 18, 2026
…e#170 plan commit

R22: plan before implementation. Root row gains config.toolFace:false; the agent-facing tool face (7 tools, guard, nudge, host-outcome, preflight warm) belongs to the preset-scoped row (D16). Also: sidebar-recording ruling recorded as optional/deferred (G109), cards analysis entry archived.
giveUphope added a commit to giveUphope/autoGamer that referenced this pull request Oct 18, 2026
…Face flag (G106)

The Agent-facing tool face (seven tools, cooldown guard, unreported-turn nudge, host-outcome counter, preflight warm-up) now exists only on a mount that does not set toolFace:false; the shipped root row sets it, so standard-mode sessions no longer hold any autogamer_* tool (D16: presets contribute scoped tools). The root mount still registers the client-facing projection units the sidebar cards read. Default true: the preset row and every bare mount are unchanged. Locks: apply-level (zero face on host mount, both projections kept), patch-level (flag on the root row, exactly once); three mutations each red. Part of google#170.
giveUphope added a commit to giveUphope/autoGamer that referenced this pull request Oct 18, 2026
- §七条目勾完搬 docs/ledger/gates-and-infra.md + 索引行;§零 在办 3→2、宿主版本行改 0.2.1-rc.2
- §四 删 G106、新增 G111(宿主换代后的交付面重核);delivery.md 两处前提按 R28 改写
- google#170 正文:两档读数(标准 31/0、AutoGamer 15/7)与宿主换代读数(组合 dump 185→192 行);册改名 vol-165-170.md
- 归档一条随 §零 标签改名而断的指向修正(C9 当场抓到);patch 注释改指 ledger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant