12345678910111213141516171819202122232425262728293031323334 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <style type="text/css">
- p { margin: 5px 1em; }
- </style>
- </head>
- <body>
- <!-- bug 827779:
- Allow break after hyphen even when there is adjacent closing punctuation
- before the hyphen, or opening punctuation after it. -->
- <p>
- extra-<br>“special”<br>
- “extra”-<br>special<br>
- “extra”-<br>“special”<br>
- extra-<br>«special»<br>
- «extra»-<br>special<br>
- «extra»-<br>«special»<br>
- extra-<br>(special)<br>
- (extra)-<br>special<br>
- (extra)-<br>(special)
- </p>
- <!-- but not in variants such as these: -->
- <p>
- (extra-)special<br>
- extra(-special)
- </p>
- </body>
- </html>
|