This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version = NetBeans IDE 7.1.1 (Build 201203091344) Operating System = Mac OS X version 10.7.3 running on x86_64 Java; VM; Vendor = 1.6.0_31 Runtime = Java HotSpot(TM) 64-Bit Server VM 20.6-b01-414 HTML code formatting does not work in PHP heredocs. Example: $var = <<<_HTML <html> <tags> <taglevel2> </taglevel2> </tag> </html> _HTML;
Heredoc content is just a string. We really don't know the mime type.
(In reply to comment #1) > Heredoc content is just a string. We really don't know the mime type. Suggestions: a) Check, if the string has something like <.*> inside to detect HTML/XML. b) The heredoc sting can be named as HTML, XML, TEXT, ... and could be taken as MIME type.
It's really not as simple as it looks like ;) But thanks for your suggestions!