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
(cherry picked from commit 6aeaad26ad)
This commit is contained in:
ibaker 2023-12-12 13:09:01 -08:00 committed by Ian Baker
parent 4f5038bc07
commit f6fe90f30b

View file

@ -5,16 +5,13 @@ body:
- type: markdown - type: markdown
attributes: attributes:
value: | value: |
We can only process bug reports that are actionable. Unclear bug reports or reports with We can only process bug reports that are actionable. Unclear bug reports or reports with insufficient information may not get attention.
insufficient information may not get attention.
Before filing a bug: Before filing a bug:
------------------------- -------------------------
- Search existing issues, including issues that are closed: - Search existing issues, including issues that are closed: https://github.com/androidx/media/issues?q=is%3Aissue
https://github.com/androidx/media/issues?q=is%3Aissue - For ExoPlayer-related bugs, please also check for existing issues on the ExoPlayer tracker: https://github.com/google/ExoPlayer/issues?q=is%3Aissue
- For ExoPlayer-related bugs, please also check for existing issues on the ExoPlayer
tracker: https://github.com/google/ExoPlayer/issues?q=is%3Aissue
- type: dropdown - type: dropdown
attributes: attributes:
label: Version label: Version
@ -62,7 +59,7 @@ body:
- type: textarea - type: textarea
attributes: attributes:
label: More version details label: More version details
description: | description: >
Required if you selected `main` or `dev-v2` (please provide an exact commit SHA), Required if you selected `main` or `dev-v2` (please provide an exact commit SHA),
or 'pre-release' or 'older' (please provide the version). or 'pre-release' or 'older' (please provide the version).
- type: textarea - type: textarea