mirror of https://github.com/docker/docs.git
Some flag descriptions contain point-brackets to indicate required
options, e.g.:
--ssh stringArray SSH agent socket or keys to expose to the build (format: default|<id>[=<socket>|<key>[,<key>]])
When rendering those options as HTML, those options were not visible as
they were rendered as a HTML element.
Given that flag-descriptions are not expected to have MarkDown or HTML
formatting, we can HTML-escape them to prevent this.
This patch escapes the flag-descriptions using liquid's `esacape` command.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
|
||
|---|---|---|
| .. | ||
| analytics | ||
| content | ||
| landing-page | ||
| api-version-matrix.md | ||
| cli.md | ||
| experimental-feature.md | ||
| experimental.md | ||
| footer.html | ||
| github-pr.md | ||
| head.html | ||
| header.html | ||
| install-script.md | ||
| kubernetes-mac-win.md | ||
| navigation.html | ||
| read_time.html | ||
| registry.md | ||
| theme-switch.html | ||
| toc_pure_liquid.html | ||