[Book][Validation] Fix small typos

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.2+
| Fixed tickets | -

This fixes syntax highlighting and remove a trailing whitespace on the validation book.