Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

changes2html.py: fix for github nicknames with hyphens (#4481)

David Smiley4862cdd810c2
diff --git a/gradle/documentation/changes-to-html/changes2html.py b/gradle/documentation/changes-to-html/changes2html.py
index 8ecb4832b22..1d52618834e 100755
--- a/gradle/documentation/changes-to-html/changes2html.py
+++ b/gradle/documentation/changes-to-html/changes2html.py
@@ -213,7 +213,7 @@ class HTMLGenerator:
# Extract markdown link: [text](url)
markdown_link_match = re.search(r'\[([^\]]+)\]\(([^)]+)\)', author_text)
# Extract GitHub handle: @username
- github_match = re.search(r'@(\w+)', author_text)
+ github_match = re.search(r'@([\w-]+)', author_text)
if markdown_link_match:
# Has markdown link