Disable wrapping non-flowed lines on dash character

pull/191/head
Aleksander Machniak 10 years ago
parent d41367492d
commit e0881f985d

@ -275,7 +275,8 @@ class rcube_text2html
$text = $copy;
}
else {
$text = str_replace(' ', $nbsp, $text);
// make the whole line non-breakable
$text = str_replace(array(' ', '-'), array($nbsp, '-⁠'), $text);
}
return $text;

Loading…
Cancel
Save