Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: Linkify skips double square brackets for text #228

Merged

Conversation

dogusata
Copy link
Collaborator

@dogusata dogusata commented Feb 3, 2025

Problem

The latest linkify handler fix introduced a bug which the citations are not visible as clickable numbered links

Screenshot 2025-02-03 at 13 01 43

Solution

Updated the pattern which checks the links are valid to also accept [[1]](LINK) format which Q returns as this. (Double square brackets)

Tests

  • I have tested this change on VSCode
  • I have tested this change on JetBrains

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@dogusata dogusata requested a review from a team as a code owner February 3, 2025 12:55
@dogusata dogusata merged commit c7a9cb0 into main Feb 3, 2025
5 checks passed
@dogusata dogusata deleted the dogusata/fix-linkify-skips-double-square-bracket-texts branch February 3, 2025 14:55
justinmk3 pushed a commit to aws/aws-toolkit-vscode that referenced this pull request Feb 3, 2025
## Problem
- The citation links are broken after the [linkify structure
change](#6449).

## Solution
- Updated link check pattern to accept `[[TEXT]](LINK)` format too which
is used for citations. **[MynahUI
v4.22.1](https://github.com/aws/mynah-ui/releases/tag/v4.22.1)**

[MynahUI PR](aws/mynah-ui#228)
s7ab059789 pushed a commit to s7ab059789/aws-toolkit-vscode that referenced this pull request Feb 19, 2025
## Problem
- The citation links are broken after the [linkify structure
change](aws#6449).

## Solution
- Updated link check pattern to accept `[[TEXT]](LINK)` format too which
is used for citations. **[MynahUI
v4.22.1](https://github.com/aws/mynah-ui/releases/tag/v4.22.1)**

[MynahUI PR](aws/mynah-ui#228)
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants