Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pingdotgg/t3code
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: pingdotgg/t3code
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fix/issue-25180
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 9 commits
  • 5 files changed
  • 2 contributors

Commits on Oct 26, 2026

  1. test(web): reproduce pasted and rebuilt underscores turning into emph…

    …asis
    
    Failing tests for Fixes #25180: a draft rebuilt from
    Markdown and plain-text pastes (plain, inside inline code, with bold
    markers inside a code span) must keep their text exactly.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    juliusmarminge and claude committed Oct 26, 2026
    Configuration menu
    Copy the full SHA
    e9df446 View commit details
    Browse the repository at this point in the history
  2. fix(web): pasted URLs and paths keep their underscores

    Underscores after a word character or slash, as in /_handle_/ or
    src/__test__.tsx, no longer open emphasis, so drafts rebuilt from Markdown
    and plain-text pastes keep them. Pastes inside a code span stay literal, and
    Tiptap's paste rules no longer restyle pasted code spans such as `**x**`.
    
    Fixes #25180
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    juliusmarminge and claude committed Oct 26, 2026
    Configuration menu
    Copy the full SHA
    f632bea View commit details
    Browse the repository at this point in the history
  3. fix(web): keep underscores in URL, path, and filename words; split mu…

    …ltiline code span pastes
    
    The `_` opening whitelist still rewrote words like `src/(_foo_).tsx`,
    `~_user_/a`, `_build_/file.ts`, and `__init__.py`. Words with a slash or a
    file extension now keep `_` literal, and ordinary `_emphasis_` uses the
    original flanking rule. A multiline paste inside a code span now takes the
    Markdown path, because a code span with a newline does not rebuild.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    juliusmarminge and claude committed Oct 26, 2026
    Configuration menu
    Copy the full SHA
    5d71b6c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b3c0b67 View commit details
    Browse the repository at this point in the history
  5. fix(web): split code span pastes that contain a backtick

    A backtick pasted into a code span was inserted literally, but the
    single-backtick serializer cannot represent it, so the span rebuilt with
    the pasted text parsed as Markdown. Such pastes now take the Markdown path,
    like multiline pastes.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    juliusmarminge and claude committed Oct 26, 2026
    Configuration menu
    Copy the full SHA
    2e2111b View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2026

  1. Merge remote-tracking branch 'origin/main' into fix/issue-25180

    # Conflicts:
    #	apps/web/src/composer-rich-text.ts
    juliusmarminge committed Nov 11, 2026
    Configuration menu
    Copy the full SHA
    1b04772 View commit details
    Browse the repository at this point in the history
  2. fix(web): let a path close emphasis and keep file:line references lit…

    …eral
    
    `_see src/a.ts_` now closes its italic span, and `__init__.py:42` stays
    literal. Main now pastes single-line text into revealed code-span source
    verbatim, so the separate code-span paste branch and its tests are dropped;
    paste rules stay disabled because they still restyle pasted code spans.
    
    AI-assisted; verified with the tests and tools listed above.
    juliusmarminge committed Nov 11, 2026
    Configuration menu
    Copy the full SHA
    35b5e1c View commit details
    Browse the repository at this point in the history
  3. fix(web): keep emphasis around paths and parse dropped Markdown

    Only underscores that pair up inside one URL, path, or filename word stay
    literal, so `_read/write access_` and `_see src/a.ts_(optional)` style
    again. Text dropped from another app takes the paste path, since paste
    rules no longer style it.
    
    AI-assisted; verified with the tests and tools listed above.
    juliusmarminge committed Nov 11, 2026
    Configuration menu
    Copy the full SHA
    d32cd46 View commit details
    Browse the repository at this point in the history
  4. fix(web): an underscore ending a path can close emphasis around it

    `_see src/_a.ts_ now` paired the path's underscores with each other and
    left the italic open. A run that ends a path word now stays a delimiter.
    
    AI-assisted; verified with the tests and tools listed above.
    juliusmarminge committed Nov 11, 2026
    Configuration menu
    Copy the full SHA
    a859185 View commit details
    Browse the repository at this point in the history
Loading