Trailing whitespace is trimmed in code snippets

Trailing whitespace may be outre in most code, but sometimes it can be vitally important to preserve. Trailing whitespace is often significant in patch files and HTML files, for example.

Unfortunately, the Markdown rendering engine in the Docker forums here implicitly chops off trailing whitespace, making it more difficult to accurately post these kinds of snippets.