ID: 30456 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Livedocs problem PHP Version: Irrelevant New Comment:
Whitespce in any element which hasn't set preserve to true will be ignored in most circumstances. Using won't be ignored, or setting preserve-whitespace in the CSS. Then you can not use at all. Previous Comments: ------------------------------------------------------------------------ [2004-10-17 12:48:12] [EMAIL PROTECTED] Sorry for my stupidity, but I couldn't find where the problem is... and nor how the patch would fix the problem. The patch will also create a bigger page (by replacing ' ' with two ) ------------------------------------------------------------------------ [2004-10-17 06:25:38] [EMAIL PROTECTED] here is a patch to fix the white space issue: http://www.powertrip.co.za/livedocs/viewpatch.php?patch=17 ------------------------------------------------------------------------ [2004-10-17 04:48:02] [EMAIL PROTECTED] http://livedocs.zirzow.dyndns.org/index.php?l=en&q=language.oop5.exceptions Look at the docblock, the first space is truncated. All the programlistings have 3 spaces for the first indent, though 4 are in the code. ------------------------------------------------------------------------ [2004-10-16 21:03:38] [EMAIL PROTECTED] Can you please give an example page that doesn't work? If I remember well, Ilia has applied one of my patches a while ago that fixed this. ------------------------------------------------------------------------ [2004-10-16 07:05:35] [EMAIL PROTECTED] Description: ------------ Livedocs, when displaying programlistings, doesn't preserve whitespace properly. The <code> element doesn't preserve whitespace, and the `preserve-whitespace: pre` line is commented out in the theme's css files. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30456&edit=1
