Guest User

Untitled

a guest
Jan 19th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.57 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="crk-x-cys" dir="ltr" xml:lang="crk-x-cys">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>title</title>
  6. <style>
  7. body {
  8. font-family: "Segoe UI",Roboto,"Noto Sans","Helvetica Neue",Helvetica,Arial,"Arial Unicode MS",sans-serif;
  9. }
  10. </style>
  11. </head>
  12.  
  13. <body>
  14. <h1>Test for markup which will render two spaces</h1>
  15.  
  16. <h2>Definitions</h2>
  17. <ul>
  18. <li>U+0020 = Space = <code>&#32;</code></li>
  19. <li>U+200B = Zero Width Space = <code>&#8203;</code></li>
  20. <li>U+00A0 = No-Break Space = <code>&#160;</code></li>
  21. <li>U+00AD = Soft Hyphen = <code>&#83;#173;</code></li>
  22. </ul>
  23.  
  24. <h2>Provided Example String</h2>
  25. <p>a b c ​ d e f ​ g h i ​ a b c ​ d e f ​ g h i ​ a b c ​ d e f ​ g h i ​ a b c ​ d
  26. e f ​ g h i ​ a b c ​ d e f ​ g h i ​ a b c ​ d e f ​ g h i ​ a b c ​ d e f ​ g h i
  27. ​ a b c ​ d e f ​ g h i.</p>
  28.  
  29. <h2>Equivilant to PRD www.jw.org string</h2>
  30. <p>Test text to make the string longer for breaking test - ᓂᑐᐦᑕᐤ&#160;&#160;ᑭᓭᒪᓂᑐᐤ&#160;&#160;&#32;ᐁᑿ &#160;&#160;ᐱᒫᑎᓯ&#160;&#160;ᑳᑭᑫ</p>
  31.  
  32. <h2>With two spaces (U+0020) joined by zero width space (U+200B) in all places</h2>
  33. <p>Test text to make the string longer for breaking test - ᓂᑐᐦᑕᐤ&#32;&#8203;&#32;ᑭᓭᒪᓂᑐᐤ&#32;&#8203;&#32;ᐁᑿ &#32;&#8203;&#32;ᐱᒫᑎᓯ&#32;&#8203;&#32;ᑳᑭᑫ</p>
  34.  
  35. <h2>Using two No-Break Space (U+00A0) along with the proposed Zero Width Space (U+200B) approach</h2>
  36. <p>Test text to make the string longer for breaking test - ᓂᑐᐦᑕᐤ&#160;&#160;ᑭᓭᒪᓂᑐᐤ&#32;&#8203;&#32;ᐁᑿ&#160;&#160;ᐱᒫᑎᓯ&#160;&#160;ᑳᑭᑫ</p>
  37.  
  38. <h2>Using two No-Break Space (U+00A0) along with the proposed Zero Width Space (U+200B) approach</h2>
  39. <p>Test text to make the string longer for breaking test.&#8203;-<em>Read</em>&#32;1&#160;Timothy&#32;5:2</p>
  40. <p>Test text to make the string longer for breaking test.&#8203;-<em>Read</em>&#32;1&#160;&#160;Timothy&#32;5:2</p>
  41.  
  42. <h2>A different example, both double and single spaces represented</h2>
  43. <p>ᐊᐄᐧᓇ&#32;&#8203;&#32;ᑫᐦᒋᓈ&#32;&#8203;&#32;ᐁ&#32;ᑎᐯᔨᐦᑕᕽ&#32;&#8203;&#32;ᐆᒪ&#32;&#8203;&#32;ᐊᐢᑭᕀ?</p>
  44.  
  45. <h2>Same as above but double space combined with soft hyphen</h2>
  46. <p>ᐊᐄᐧᓇ&#32;&#8203;&#32;ᑫᐦᒋᓈ&#32;&#8203;&#32;ᐁ&#32;ᑎᐯᔨᐦᑕᕽ&#32;&#173;&#32;ᐆᒪ&#32;&#8203;&#32;ᐊᐢᑭᕀ?</p>
  47.  
  48. </body>
  49. </html>
Add Comment
Please, Sign In to add comment