Home » Tools and Utilities » PhpDocumentor » Bug #1193
Comments in code tags improperly formatted
Details
| Submitted | 2004-04-13 10:45 UTC |
|---|---|
| From | thesaur at php dot net |
| Assigned | cellog |
| Status | Bogus |
| Package | PhpDocumentor |
| PHP Version | 5.0.0b4 (beta4) |
| OS | Irrelevant (Windows XP) |
| Roadmaps | (Not assigned) |
Comments
[2004-04-13 10:45 UTC] thesaur at php dot net
Description:
------------
phpDocumentor 1.3.0RC3
Normally, when code is included in the comment, it is properly indented. However, I have noticed the following strange exception, that appears in multiple browsers (IE 6, Firefox 0.8). So far, I've only tested various HTML formats.
The problem is that the second line of each // comment block is not indented at all, while the first and all other comment lines are properly indented.
Reproduce code:
---------------
<?php
/**
* Some test
*
* <code>
* // this is a test line
* // This is a second line
* // This is a third line
* </code>
*/
class foo {
function bar() {}
}
Expected result:
----------------
All commented lines should be aligned.
Actual result:
--------------
The second line is not indented. This occurs even when there are multiple spaces indenting it.