HEX
Server: nginx/1.27.1
System: Linux in-4 5.15.0-131-generic #141-Ubuntu SMP Fri Jan 10 21:18:28 UTC 2025 x86_64
User: ilikadirect (1186)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
Upload Files
File: /storage/v6964/school/public_html/school/application/helpers/dompdf/www/test/dom_nbsp.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Non-breaking space</title>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
  <p>Non-breaking space representations:</p>
  <table>
    <tr><td>Non-breaking space character</td><td><span style="background-color: yellow;"> </span></td></tr>
    <tr><td>&amp;nbsp;</td><td><span style="background-color: yellow;">&nbsp;</span></td></tr>
    <tr><td>&amp;#160;</td><td><span style="background-color: yellow;">&#160;</span></td></tr>
    <tr><td>&amp;#xA0;</td><td><span style="background-color: yellow;">&#xA0;</span></td></tr>
  </table>
  <p>With non-breaking space: <span style="border: 1px dotted orange;">&nbsp;a&nbsp;&nbsp;b&nbsp;&nbsp;c&nbsp;</span></p>
  <p>Without non-breaking space: <span style="border: 1px dotted orange;"> a  b  c </span></p>
  <div style="width: 150px; border: 1px dotted orange; overflow: visible;">
        <span style="border-bottom: 1px solid green;">no&nbsp;wrap</span>
        <span style="border-bottom: 1px solid green;">no&nbsp;wrap</span>
        <span style="border-bottom: 1px solid green;">no&nbsp;wrap</span>
        <span style="border-bottom: 1px solid green;">no&nbsp;wrap</span>
        <span style="border-bottom: 1px solid green;">no&nbsp;wrap</span>
        <span style="border-bottom: 1px solid green;">no&nbsp;wrap</span>
        <span style="border-bottom: 1px solid green;">no&nbsp;wrap</span>
        <span style="border-bottom: 1px solid green;">no&nbsp;wrap</span>
  </div>
</body>
</html>