PHP Docblocks handle HTML and code poorly
Submitted by Wednesday, 25 January, 2006 - 17:20
on
Howdy,
I'm not sure if this is a bug or if it's something that can be fixed in the php.xml file. I use Docblock comments in my code, and because I use PhpDocumentor to create the documentation for the scripts, I use bits of HTML and example PHP code in the docblock. JEdit seems to choke on those. An example:
/**
* Just some function
*
* Usage:
*
*/
JEdit tries to treat the HTML and code like regular HTML and code instead of treating it like plain text, which it should since it's inside a comment block.
Is there a file somewhere I can hack to fix this?
- Sean
I'm not sure if this is a bug or if it's something that can be fixed in the php.xml file. I use Docblock comments in my code, and because I use PhpDocumentor to create the documentation for the scripts, I use bits of HTML and example PHP code in the docblock. JEdit seems to choke on those. An example:
/**
* Just some function
*
* Usage:
*
* $a = justSomeFunction();
*
*/
JEdit tries to treat the HTML and code like regular HTML and code instead of treating it like plain text, which it should since it's inside a comment block.
Is there a file somewhere I can hack to fix this?
- Sean