diff options
author | Sebastian Geerken <devnull@localhost> | 2013-06-26 17:12:18 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-06-26 17:12:18 +0200 |
commit | 7a1296f447abaf2787181eff5d41e35b9f20524c (patch) | |
tree | a4ef272b96724004bd6cc612e63571602550cf20 /dw/textblock_linebreaking.cc | |
parent | 5d2970ff2723d0fb6c1d150c9e34eb1081a2d656 (diff) |
Fixed problem with pre-formatted text in table cells (e. g. at <http://www.dillo.org/FAQ.html>).
Diffstat (limited to 'dw/textblock_linebreaking.cc')
-rw-r--r-- | dw/textblock_linebreaking.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dw/textblock_linebreaking.cc b/dw/textblock_linebreaking.cc index d8f5840b..df29c459 100644 --- a/dw/textblock_linebreaking.cc +++ b/dw/textblock_linebreaking.cc @@ -718,6 +718,7 @@ bool Textblock::isHyphenationCandidate (Word *word) { return (word->flags & Word::CAN_BE_HYPHENATED) && word->style->x_lang[0] && + isBreakAllowed(word) && word->content.type == core::Content::TEXT && Hyphenator::isHyphenationCandidate (word->content.text); } |