diff --git a/web/pages/news.tsx b/web/pages/news.tsx index 586770c1..ad2a89ea 100644 --- a/web/pages/news.tsx +++ b/web/pages/news.tsx @@ -65,7 +65,7 @@ export default function WhatsNew() { {new Date(release.published_at).toLocaleDateString()} -
+
{formatPullLinks(release.body || "_No release notes provided._")} @@ -86,7 +86,7 @@ function formatPullLinks(text = "") { /https:\/\/github\.com\/CompassConnections\/Compass\/pull\/(\d+)/g, (_, num) => `[#${num}](https://github.com/CompassConnections/Compass/pull/${num})`) .replace( - /https:\/\/github\.com\/CompassConnections\/Compass\/compare\/([\w.-]+\.\.\.[\w.-]+)/g, - (_, range) => `[${range}](https://github.com/CompassConnections/Compass/compare/${range})`) + /\**Full Changelog\**: https:\/\/github\.com\/CompassConnections\/Compass\/compare\/([\w.-]+\.\.\.[\w.-]+)/g, + '') }