diff options
author | Sebastian Geerken <devnull@localhost> | 2013-09-07 15:56:51 +0000 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-09-07 15:56:51 +0000 |
commit | 314e08e0a07ce4b6fe88b2e9fd2b94e118622799 (patch) | |
tree | aa699e9576c6164ebc7151e6df5e56f7279d97d5 /src | |
parent | 958b41db480e139fb2df5c2a80fcc14cfdb4d701 (diff) |
Textblock::addBreakOption() forceBreak argument to support WBR element
Diffstat (limited to 'src')
-rw-r--r-- | src/html.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/html.cc b/src/html.cc index 3af919d2..f6ad2e18 100644 --- a/src/html.cc +++ b/src/html.cc @@ -1104,7 +1104,7 @@ static void Html_process_space(DilloHtml *html, const char *space, if (spaceCnt) { // add break possibility for the white-space:pre-wrap case - HT2TB(html)->addBreakOption (html->styleEngine->wordStyle ()); + HT2TB(html)->addBreakOption (html->styleEngine->wordStyle (), false); spc = dStrnfill(spaceCnt, ' '); HT2TB(html)->addText (spc, spaceCnt, html->styleEngine->wordStyle ()); dFree(spc); @@ -1209,12 +1209,12 @@ static void Html_process_word(DilloHtml *html, const char *word, int size) Html_process_space(html, word2 + start, i - start); } else if (!strncmp(word2+i, utf8_zero_width_space, 3)) { i += 3; - HT2TB(html)->addBreakOption(html->styleEngine->wordStyle ()); + HT2TB(html)->addBreakOption(html->styleEngine->wordStyle (), false); } else if (a_Utf8_ideographic(word2+i, beyond_word2, &len)) { i += len; HT2TB(html)->addText(word2 + start, i - start, html->styleEngine->wordStyle ()); - HT2TB(html)->addBreakOption(html->styleEngine->wordStyle ()); + HT2TB(html)->addBreakOption(html->styleEngine->wordStyle (), false); } else { do { i += len; |