From 271a280e4ff443ccf333c437b0d4f2483d08c570 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Tue, 17 Mar 2015 22:14:36 +0100 Subject: [PATCH 1/1] do not force wrap; we break links with that --- lib/converter/restructuredtext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.30.2