From: Christian Weiske Date: Tue, 17 Mar 2015 21:14:36 +0000 (+0100) Subject: do not force wrap; we break links with that X-Git-Tag: v0.5.0~2 X-Git-Url: https://git.cweiske.de/grauphel.git/commitdiff_plain/271a280e4ff443ccf333c437b0d4f2483d08c570 do not force wrap; we break links with that --- diff --git a/lib/converter/restructuredtext.php b/lib/converter/restructuredtext.php index 8419af6..149fa4a 100644 --- a/lib/converter/restructuredtext.php +++ b/lib/converter/restructuredtext.php @@ -134,7 +134,7 @@ class ReStructuredText extends Base $headingLength = strlen(trim($reader->value)); $store .= trim($reader->value); } else { - $text = wordwrap($reader->value, 72 - 2 * $listLevel, "\n", true); + $text = wordwrap($reader->value, 72 - 2 * $listLevel, "\n"); $parts = explode("\n", $text); foreach ($parts as $k => $v) { if ($k == 0) {