From 1bbee21256f951a956f4d997a0b502a7f9c34eb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20Riiskj=C3=A6r=20Boysen?= Date: Wed, 14 Oct 2020 10:52:07 +0200 Subject: [PATCH 1/2] Elaborate on how to escape multiple labels in issue templates Escaping them individually led to bugs in our templates that I had to spend time on tracking down. --- ...ally-creating-a-single-issue-template-for-your-repository.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/github/building-a-strong-community/manually-creating-a-single-issue-template-for-your-repository.md b/content/github/building-a-strong-community/manually-creating-a-single-issue-template-for-your-repository.md index 45248cb09ab4..3198fced46bb 100644 --- a/content/github/building-a-strong-community/manually-creating-a-single-issue-template-for-your-repository.md +++ b/content/github/building-a-strong-community/manually-creating-a-single-issue-template-for-your-repository.md @@ -28,7 +28,7 @@ assignees: octocat ``` {% note %} -**Note:** You must put YAML-reserved characters such as `:` in quotes. For example, `":bug: Bug"`. +**Note:** You must put YAML-reserved characters such as `:` in quotes. For example, `":bug: Bug"` or `":new: triage needed, :bug: bug`". Note that labels are not escaped individually. {% endnote %} From a6831688573805c53d279d11383663283b318969 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20Riiskj=C3=A6r=20Boysen?= Date: Wed, 21 Oct 2020 22:18:18 +0200 Subject: [PATCH 2/2] Update content/github/building-a-strong-community/manually-creating-a-single-issue-template-for-your-repository.md Co-authored-by: Felicity Chapman --- ...ally-creating-a-single-issue-template-for-your-repository.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/github/building-a-strong-community/manually-creating-a-single-issue-template-for-your-repository.md b/content/github/building-a-strong-community/manually-creating-a-single-issue-template-for-your-repository.md index 3198fced46bb..ff57ebed423f 100644 --- a/content/github/building-a-strong-community/manually-creating-a-single-issue-template-for-your-repository.md +++ b/content/github/building-a-strong-community/manually-creating-a-single-issue-template-for-your-repository.md @@ -28,7 +28,7 @@ assignees: octocat ``` {% note %} -**Note:** You must put YAML-reserved characters such as `:` in quotes. For example, `":bug: Bug"` or `":new: triage needed, :bug: bug`". Note that labels are not escaped individually. +**Note:** If a front matter value includes a YAML-reserved character such as `:` , you must put the whole value in quotes. For example, `":bug: Bug"` or `":new: triage needed, :bug: bug"`. {% endnote %}