* Preserve code blocks in templates.Normalizer Currently, if templates.LongDesc function is invoked multiple times for a string including a code block, this code block is converted to invalid code block. The reason of this issue is that blackfriday package, which templates package uses, relies on 4 * indentation to detect code blocks. This PR always preserves 4 * indentation in code blocks to always detect it code blocks in also post invocations. * Add indentations to test for code blocks * Use strings.repeat for repetition Kubernetes-commit: 0bff705acd8982e34b937116eb2016c9d6e4c4a6 |
||
|---|---|---|
| .. | ||
| command_groups.go | ||
| help_flags_printer.go | ||
| markdown.go | ||
| normalizers.go | ||
| normalizers_test.go | ||
| templater.go | ||
| templates.go | ||