mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 06:56:24 +00:00
parent
a19421fff6
commit
59d3be4d1c
2 changed files with 3 additions and 2 deletions
|
@ -140,8 +140,9 @@ async function ensurePr(prConfig) {
|
||||||
if (config.isGitLab) {
|
if (config.isGitLab) {
|
||||||
// Convert to HTML using GitHub-flavoured markdown as it is more feature-rich than GitLab's flavour
|
// Convert to HTML using GitHub-flavoured markdown as it is more feature-rich than GitLab's flavour
|
||||||
prBody = converter
|
prBody = converter
|
||||||
|
|
||||||
.makeHtml(prBody)
|
.makeHtml(prBody)
|
||||||
.replace('</h4>', ' </h4>') // See #954
|
.replace(/<\/?h4[^>]*>/g, '**') // See #954
|
||||||
.replace(/Pull Request/g, 'Merge Request')
|
.replace(/Pull Request/g, 'Merge Request')
|
||||||
.replace(/PR/g, 'MR');
|
.replace(/PR/g, 'MR');
|
||||||
} else if (config.isVsts) {
|
} else if (config.isVsts) {
|
||||||
|
|
|
@ -34,7 +34,7 @@ Array [
|
||||||
<h3 id=\\"commits\\">Commits</h3>
|
<h3 id=\\"commits\\">Commits</h3>
|
||||||
<p><details><br />
|
<p><details><br />
|
||||||
<summary>renovateapp/dummy</summary></p>
|
<summary>renovateapp/dummy</summary></p>
|
||||||
<h4 id=\\"110\\">1.1.0 </h4>
|
**1.1.0**
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href=\\"https://github.com/renovateapp/dummy/commit/abcdefghijklmnopqrstuvwxyz\\"><code>abcdefg</code></a> foo <a href=\\"https://github.com/renovateapp/dummy/issues/3\\">#3</a></li>
|
<li><a href=\\"https://github.com/renovateapp/dummy/commit/abcdefghijklmnopqrstuvwxyz\\"><code>abcdefg</code></a> foo <a href=\\"https://github.com/renovateapp/dummy/issues/3\\">#3</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in a new issue