This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new c87ef553bc Fix multiple issues in release notes does not have links 
(#36503)
c87ef553bc is described below

commit c87ef553bc1624ced15aeea2cbf3e012eee66de1
Author: shohamy7 <46799583+shoha...@users.noreply.github.com>
AuthorDate: Sun Dec 31 01:00:16 2023 +0200

    Fix multiple issues in release notes does not have links (#36503)
---
 docs/apache-airflow/static/gh-jira-links.js | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/docs/apache-airflow/static/gh-jira-links.js 
b/docs/apache-airflow/static/gh-jira-links.js
index d731a93738..dfbfb15ad8 100644
--- a/docs/apache-airflow/static/gh-jira-links.js
+++ b/docs/apache-airflow/static/gh-jira-links.js
@@ -27,8 +27,10 @@ document.addEventListener('DOMContentLoaded', function() {
     );
     // (#...)
     el.innerHTML = el.innerHTML.replace(
-      /\(#([\d]+)\)/g,
-      `<a href="https://github.com/apache/airflow/pull/$1";>(#$1)</a>`
+      /#([\d]+)/g,
+      (match, group1) => {
+        return `<a 
href="https://github.com/apache/airflow/pull/${group1}";>#${group1}</a>`
+      }
     );
   };
 })

Reply via email to