2006-10-10, 07:14 PM
Files: inc/class_parser.php, inc/functions.php
Continous whitespaces from posts message are replaced with :
Better use CSS:
Have a look:
http://www.kozik.net.pl/tmp/whitespace_e...s/css.html (400 bytes)
http://www.kozik.net.pl/tmp/whitespace_e.../nbsp.html (2 kB)
Anyway - these solutions can produce another issue like this:
begin end
Continous whitespaces from posts message are replaced with :
$message = str_replace(" ", " ", $message);
One byte is is expanded to 6 bytes...Better use CSS:
<div style="white-space: pre;"></div>
http://www.w3.org/TR/CSS1#white-spaceHave a look:
http://www.kozik.net.pl/tmp/whitespace_e...s/css.html (400 bytes)
http://www.kozik.net.pl/tmp/whitespace_e.../nbsp.html (2 kB)
Anyway - these solutions can produce another issue like this:
begin end