hyphens-2-ref.html (661B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <style type="text/css"> 6 p { margin: 5px 1em; } 7 </style> 8 </head> 9 <body> 10 11 <!-- bug 827779: 12 Allow break after hyphen even when there is adjacent closing punctuation 13 before the hyphen, or opening punctuation after it. --> 14 <p> 15 extra-<br>“special”<br> 16 “extra”-<br>special<br> 17 “extra”-<br>“special”<br> 18 extra-<br>«special»<br> 19 «extra»-<br>special<br> 20 «extra»-<br>«special»<br> 21 extra-<br>(special)<br> 22 (extra)-<br>special<br> 23 (extra)-<br>(special) 24 </p> 25 26 <!-- but not in variants such as these: --> 27 <p> 28 (extra-)special<br> 29 extra(-special) 30 </p> 31 32 </body> 33 </html>