github suzuki-shunsuke/github-comment v2.0.1

latest releases: v6.0.4, v6.0.3, v6.0.3-1...
3 years ago

Changelog

v2.0.0...v2.0.1
milestone

Fixes

#182 #183 fix: fix builtin template join_command and hidden_combined_output

Thanks to @yuya-takeyama #182

Problem to solve

If the content of .CombinedOutput is Markdown-like,
it will be parsed as markdown and the posted comment will be ugly.

TO BE

templates.join_command

If .JoinCommand includes ```,

<pre><code>$ {{.JoinCommand | AvoidHTMLEscape}}</pre></code>

Otherwise,

```
$ {{.JoinCommand | AvoidHTMLEscape}}
```

templates.hidden_combined_output

If .CombinedOutput includes ``` ,

<details><pre><code>{{.CombinedOutput | AvoidHTMLEscape}}</code></pre></details>

Otherwise,

<details>

```
{{.CombinedOutput | AvoidHTMLEscape}}
```

</details>

Don't miss a new github-comment release

NewReleases is sending notifications on new releases.