auto link to issue of plain text in markdown file has false positive

Created on 12 September 2024, 3 months ago

Problem/Motivation

Some regex to auto-link to mentioned issues in markdown files of projects seems to do weird things... In a project of mine, the part "GPL-2" of the string "GPL-2.0-or-later" is converted to a link, that points to https://www.drupal.org/i/2.

Steps to reproduce

- create repo on git.drupalcode.org
- write the string GPL-2.0-or-later in README.md
- look at the auto-generated HTML

Live example (scroll to the bottom):

https://git.drupalcode.org/project/drinimal#credits-and-third-party-libr...

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

GitLab integration

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024