Commit a74c510
authored
Exclude matching \r\n (#5111)
When generating docs locally I noticed that some of the callouts only
included a newline and were missing the carriage return. Upon
investigation, I found that the regex used for callout replacement was
catching and removing the \r character.
This change fixes the two places such replacement may occur and ensures
we stop matching before the \r\n.1 parent 3d123cf commit a74c510
File tree
2 files changed
+2
-2
lines changed- src/DocGenerator
- AsciiDoc
- Documentation/Blocks
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
| 201 | + | |
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments