diff options
author | Ulrich Müller <ulm@gentoo.org> | 2020-01-18 09:53:58 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2020-01-18 09:57:32 +0100 |
commit | 1ed5eb0e574691e45e47c0061bd1539624482563 (patch) | |
tree | 899d88a9acb0f03e5cb0f114dc4ea9a2b880b4c2 /tasks-reference/completion/text.xml | |
parent | devbook.xsl: Suppress spurious newlines for <d/>. (diff) | |
download | devmanual-1ed5eb0e574691e45e47c0061bd1539624482563.tar.gz devmanual-1ed5eb0e574691e45e47c0061bd1539624482563.tar.bz2 devmanual-1ed5eb0e574691e45e47c0061bd1539624482563.zip |
Don't indent <pre> and <codesample>.
Whitespace before the closing tag is significant and would show up in
html output.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'tasks-reference/completion/text.xml')
-rw-r--r-- | tasks-reference/completion/text.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tasks-reference/completion/text.xml b/tasks-reference/completion/text.xml index 8b76be7..b6a6349 100644 --- a/tasks-reference/completion/text.xml +++ b/tasks-reference/completion/text.xml @@ -272,12 +272,13 @@ complete -F _foo foo Most of the time, you'll want to perform a certain action if <c>${prev}</c> is equal to a certain option. For example, if <c>foo</c> has a --file option (and -f for short) that takes any kind file, you could do: - <codesample lang="ebuild"> +<codesample lang="ebuild"> case "${prev}" in -f|--file) COMPREPLY=( $(compgen -f ? ${cur}) ) ;; -esac</codesample> +esac +</codesample> </ti> </tr> <tr> @@ -425,4 +426,3 @@ Lines 1-12 are pretty much the same as in the previous section. </section> </chapter> </guide> - |