do not force wrap; we break links with that
authorChristian Weiske <cweiske@cweiske.de>
Tue, 17 Mar 2015 21:14:36 +0000 (22:14 +0100)
committerChristian Weiske <cweiske@cweiske.de>
Tue, 17 Mar 2015 21:14:36 +0000 (22:14 +0100)
lib/converter/restructuredtext.php

index 8419af6..149fa4a 100644 (file)
@@ -134,7 +134,7 @@ class ReStructuredText extends Base
                     $headingLength = strlen(trim($reader->value));
                     $store .= trim($reader->value);
                 } else {
                     $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) {
                     $parts = explode("\n", $text);
                     foreach ($parts as $k => $v) {
                         if ($k == 0) {