Skip to content

Commit

Permalink
Merge pull request #312 from wilzbach/improve-codeblock-detection
Browse files Browse the repository at this point in the history
Improve codeblock detection
merged-on-behalf-of: Vladimir Panteleev <[email protected]>
  • Loading branch information
dlang-bot authored Feb 9, 2018
2 parents 0909c64 + 693b543 commit a36dafa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion changed.d
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ void writeTextChangesBody(Entries, Writer)(Entries changes, Writer w, string hea
bool inPara, inCode;
foreach (line; change.description.splitLines)
{
if (line.startsWith("---"))
if (line.stripLeft.startsWith("---"))
{
if (inPara)
{
Expand Down

0 comments on commit a36dafa

Please sign in to comment.