Replace <wbr> and <span class='mywbr'> </span> with zero-width-space.
The zero width space is a more robust way to add place to line-wrap, according to: http://www.quirksmode.org/oddsandends/wbr.html Closes PR 13305. original commit: 29031f0972ead0d3cd26d61f163b5e5b59e9ffce
This commit is contained in:
parent
161d49ca39
commit
f8b07bcc26
|
@ -1399,9 +1399,7 @@
|
|||
;; doesn't, Firefox, pays attention to wbr. Some
|
||||
;; browsers ignore wbr, but at least they don't do
|
||||
;; strange things with it.
|
||||
(if (equal? #\- (string-ref i (caar m)))
|
||||
'(wbr)
|
||||
`(span ([class "mywbr"]) " "))
|
||||
#x200b
|
||||
(render-other (substring i (cdar m)) part ri))
|
||||
(ascii-ize i)))]
|
||||
[(symbol? i)
|
||||
|
|
Loading…
Reference in New Issue
Block a user