File tree 3 files changed +5
-2
lines changed
3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,9 @@ impl HelperDef for OptionHelper<'_> {
139
139
// Render the block.
140
140
let block = t. renders ( r, gctx, rc) ?;
141
141
142
+ // Windows newlines can break some rendering, so normalize.
143
+ let block = block. replace ( "\r \n " , "\n " ) ;
144
+
142
145
// Get the name of this page.
143
146
let man_name = gctx
144
147
. data ( )
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ Alternate syntax for optional value (with required = for disambiguation).
72
72
.sp
73
73
\fB \-\- split \- block \fR
74
74
.RS 4
75
- An option where the description has a \fB block statement that is split across multiple lines \fR
75
+ An option where the description has a \fB block statement that is split across multiple lines \fR
76
76
.RE
77
77
.SH "EXAMPLES"
78
78
.sp
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ A description of the command.
59
59
60
60
61
61
<dt class =" option-term " id =" option-options---split-block " ><a class =" option-anchor " href =" #option-options---split-block " ></a ><code >--split-block</code ></dt >
62
- <dd class =" option-desc " >An option where the description has a <code >block statement that is split across multiple lines</code ></dd >
62
+ <dd class =" option-desc " >An option where the description has a <code >block statement that is split across multiple lines</code ></dd >
63
63
64
64
65
65
</dl >
You can’t perform that action at this time.
0 commit comments