From e3bb79fe7a2cdd72bd24318ed182b2d8cf5dafb9 Mon Sep 17 00:00:00 2001 From: ibaker Date: Tue, 12 Dec 2023 13:09:01 -0800 Subject: [PATCH] Clean-up multi-line strings in YAML issue templates * If we don't want any newlines in the result, it's better to use `>` * If we want newlines (e.g. for markdown) then we should ensure the string **only** contains the newlines we want, because GitHub (unlike other markdown renderers) preserves single newlines in the output, leading to ugly newlines dictated by the source. Also remove a markdown-style link that isn't renderered as markdown. PiperOrigin-RevId: 590309749 --- .github/ISSUE_TEMPLATE/bug.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index 0a197bd0562..4cc6691970e 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -1,20 +1,17 @@ name: This project is deprecated -description: | - Please file your issue in the - [Media3 issue tracker](https://github.com/androidx/media/issues/new?template=bug.yml) +description: > + Please file your issue in the Media3 issue tracker: + https://github.com/androidx/media/issues/new?template=bug.yml labels: ["won't fix: infeasible"] body: - type: markdown attributes: value: | - **This project is deprecated. Please do not file new issues in this repository. They will be - closed with no response.** + **This project is deprecated. Please do not file new issues in this repository. They will be closed with no response.** - All new bugs should be filed in the - [Media3 issue tracker](https://github.com/androidx/media/issues/new?template=bug.yml). + All new bugs should be filed in the [Media3 issue tracker](https://github.com/androidx/media/issues/new?template=bug.yml). - We will continue to update and reply to existing issues in this repository - and will keep existing feature requests active. + We will continue to update and reply to existing issues in this repository, and will keep existing feature requests active. - type: checkboxes attributes: label: This project is deprecated