YAML callback: do not remove non-ASCII Unicode from multi-line string output (#1522)

* Do not remove non-ASCII Unicode from multi-line string output.

* Added basic tests.

* Add Unicode test.

* Simplify tests, avoid later Jinja features.

* Refactor.

* Make use diy tests use callback test framework as well.

* Remove color codes.

* Work around stable-2.9 bug.

* Simplify again.
This commit is contained in:
Felix Fontein 2020-12-22 09:24:20 +01:00 committed by GitHub
commit 0a7ed3b019
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 322 additions and 255 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- "yaml callback plugin - do not remove non-ASCII Unicode characters from multiline string output (https://github.com/ansible-collections/community.general/issues/1519)."