scribble HTML: no extra breaking at the end of an identifier
original commit: bd16f1e302ad3d3fa7a47a8739a33c1eef56969e
This commit is contained in:
parent
a0619711b3
commit
0836269713
|
@ -1385,7 +1385,7 @@
|
||||||
(cond
|
(cond
|
||||||
[(string? i)
|
[(string? i)
|
||||||
(let ([m (and (extra-breaking?)
|
(let ([m (and (extra-breaking?)
|
||||||
(regexp-match-positions #rx"[-:/+_]|[a-z](?=[A-Z])" i))])
|
(regexp-match-positions #rx"[-:/+_](?=.)|[a-z](?=[A-Z])" i))])
|
||||||
(if m
|
(if m
|
||||||
(list* (substring i 0 (cdar m))
|
(list* (substring i 0 (cdar m))
|
||||||
;; Most browsers wrap after a hyphen. The one that
|
;; Most browsers wrap after a hyphen. The one that
|
||||||
|
|
Loading…
Reference in New Issue
Block a user