mirror of
https://github.com/dlang/tools.git
synced 2025-04-30 15:10:47 +03:00
Merge pull request #312 from wilzbach/improve-codeblock-detection
Improve codeblock detection merged-on-behalf-of: Vladimir Panteleev <github@thecybershadow.net>
This commit is contained in:
commit
a36dafa5e6
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ void writeTextChangesBody(Entries, Writer)(Entries changes, Writer w, string hea
|
||||||
bool inPara, inCode;
|
bool inPara, inCode;
|
||||||
foreach (line; change.description.splitLines)
|
foreach (line; change.description.splitLines)
|
||||||
{
|
{
|
||||||
if (line.startsWith("---"))
|
if (line.stripLeft.startsWith("---"))
|
||||||
{
|
{
|
||||||
if (inPara)
|
if (inPara)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue