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:
The Dlang Bot 2018-02-09 06:35:26 +01:00 committed by GitHub
commit a36dafa5e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)
{