Skip to content

馃 [Bug]: Earlier note links are not clickable when link formats are mixed聽#9052

Description

@Guo-Yixin

馃 Reproduced on master at 603a905.

Enter either note on a transaction:

  • https://first.example [second](https://second.example)
  • www.first.example https://second.example

Expected: both links are clickable in their original order.
Actual: only the second link is recognized; the first is rendered as plain text.

parseNotes searches the entire remaining note for Markdown before checking plain URLs, then for HTTP URLs before www URLs, consuming earlier links as text. Seven focused regression cases produce five failures on master; the proposed fix makes all 23 link-parser tests pass. All ten workspace typechecks and lint:fix passed.

AI disclosure: OpenAI Codex reproduced the issue and drafted the implementation and tests. Human review is not claimed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions