如您所知,NetBeans IDE 将根据 phpDocumentor 语法在您的 PHP 源代码中弹出内联文档。
我发现当我在 phpDocumentor 文档中使用特殊的 HTML 字符时,它们在 NetBeans 中被视为 HTML,但在 phpDocumentor 生成的 HTMl 文档中被视为文本。
例如:
/**
* Add a new <link> to the <head> of the document.
*/
在 phpDocumentor 生成的 HTML 中,会显示为:
Add a new <link> to the <head> of the document.
但在 NetBeans IDE 中,它将显示为:
Add a new <link> to the <head> of the document.
哪一个是对的?在 phpDocumentor 注释中嵌入特殊 HTML 字符的正确方法是什么?