threads / patch / 50428

patchdoc: prevent overflowing <code> tag in rendered HTML

Subject: [PATCH] doc: prevent overflowing <code> tag in rendered HTML

## tl;dr

2 messages between Feb 7, 2019 and Feb 7, 2019. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Katrin Leinweber· Feb 7, 2019, 19:16 UTC · lore

Add an apparently missing back-tick to fix a multi-line <code> section on https://git-scm.com/docs/git-log which seems to have been caused by commit 18fb7ffc ("pretty: respect color settings [...]", 2017-07-13).

Signed-off-by: Katrin Leinweber <katrin.leinweber@uni-konstanz.de>
---
 Documentation/pretty-formats.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to Documentation/pretty-formats.txt +1 −1
diff --git a/Documentation/pretty-formats.txt
b/Documentation/pretty-formats.txt
index 417b638cd..ee08d0906 100644
--- a/Documentation/pretty-formats.txt
+++ b/Documentation/pretty-formats.txt
@@ -181,7 +181,7 @@ endif::git-rev-list[]
   `color.diff`, `color.ui`, or `--color`, and respecting the `auto`
   settings of the former if we are going to a terminal). `%C(auto,...)`
   is accepted as a historical synonym for the default (e.g.,
-  `%C(auto,red)`). Specifying `%C(always,...) will show the colors
+  `%C(auto,red)`). Specifying `%C(always,...)` will show the colors
   even when color is not otherwise enabled (though consider
   just using `--color=always` to enable color for the whole output,
   including this format and anything else git might color).  `auto`
-- 
2.20.1
Junio C Hamano· Feb 7, 2019, 19:29 UTC · re: Katrin Leinweber · lore

Re: [PATCH] doc: prevent overflowing <code> tag in rendered HTML

Katrin Leinweber <katrin.leinweber@uni-konstanz.de> writes:
Show 6 quoted lines
> Add an apparently missing back-tick to fix a multi-line <code> section
> on https://git-scm.com/docs/git-log which seems to have been caused by
> commit 18fb7ffc ("pretty: respect color settings [...]", 2017-07-13).
>
> Signed-off-by: Katrin Leinweber <katrin.leinweber@uni-konstanz.de>
> ---
Thanks for spotting and fixing.  Will apply.
Show 17 quoted lines
>  Documentation/pretty-formats.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/pretty-formats.txt
> b/Documentation/pretty-formats.txt
> index 417b638cd..ee08d0906 100644
> --- a/Documentation/pretty-formats.txt
> +++ b/Documentation/pretty-formats.txt
> @@ -181,7 +181,7 @@ endif::git-rev-list[]
>    `color.diff`, `color.ui`, or `--color`, and respecting the `auto`
>    settings of the former if we are going to a terminal). `%C(auto,...)`
>    is accepted as a historical synonym for the default (e.g.,
> -  `%C(auto,red)`). Specifying `%C(always,...) will show the colors
> +  `%C(auto,red)`). Specifying `%C(always,...)` will show the colors
>    even when color is not otherwise enabled (though consider
>    just using `--color=always` to enable color for the whole output,
>    including this format and anything else git might color).  `auto`

← back to recent threads