enclose YAML strings containing % with quotes

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | all
| Fixed tickets | #1886, #4029

Thanks @iamdto, did you spot some other occurences in the docs?