]> granicus.if.org Git - php/commitdiff
- Commented out the space escaping. Works now as it did before.
authorfoobar <sniper@php.net>
Sat, 9 Mar 2002 00:24:02 +0000 (00:24 +0000)
committerfoobar <sniper@php.net>
Sat, 9 Mar 2002 00:24:02 +0000 (00:24 +0000)
main/main.c

index 4dfb199b72d71686c24f31d62235ebe36fe98e5c..4d7d0b7cf3ef8f5901aea4b5289d7da797ac669a 100644 (file)
@@ -381,9 +381,13 @@ PHPAPI void php_html_puts(const char *str, uint size TSRMLS_DC)
                        case '&':
                                smart_str_appendl(&s, "&amp;", sizeof("&amp;")-1);
                                break;
+
+/* Commented out since this is not necessary */
+/*
                        case ' ':
-                               smart_str_appendl(&s, "&nbsp; ", sizeof("&nbsp; ")-1);
+                               smart_str_appendl(&s, "&nbsp;", sizeof("&nbsp;")-1);
                                break;
+*/
                        case '\t':
                                smart_str_appendl(&s, "&nbsp;&nbsp;&nbsp;&nbsp;", sizeof("&nbsp;&nbsp;&nbsp;&nbsp;")-1);
                                break;