mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-09 15:59:30 +00:00
fix(release): ignore HTML entities in note references
This commit is contained in:
parent
40e02a418c
commit
38442853e1
1 changed files with 1 additions and 1 deletions
|
|
@ -209,7 +209,7 @@ function sectionFor(changelog, version) {
|
|||
function referencesIn(text) {
|
||||
const references = [];
|
||||
for (const match of text.matchAll(
|
||||
/(?<![A-Za-z0-9_.-])(?:(?<owner>[A-Za-z0-9_.-]+)\/(?<name>[A-Za-z0-9_.-]+))?#(?<number>\d+)/g,
|
||||
/(?<![A-Za-z0-9_.&-])(?:(?<owner>[A-Za-z0-9_.-]+)\/(?<name>[A-Za-z0-9_.-]+))?#(?<number>\d+)/g,
|
||||
)) {
|
||||
const qualifiedRepository = match.groups?.owner
|
||||
? `${match.groups.owner}/${match.groups.name}`.toLowerCase()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue