Community
Participate
Working Groups
Build Identifier: 20110615-0604 When combining HTML and PHP in the same file: standard html, followed by an opened and closed php tag, then followed by another opened and closed php tag, finally followed by more html. If *any* type of tags that start with "<" is attempted to be added between the two php tags, the editor will hang and then all text entered afterwards will be garbled. Clicking around in the editor places text at the location of the cursor that was not typed. Opening and closing the php file fixes the garbled text issue, but you are still unable to add a new tag between the two tags. Reproducible: Always Steps to Reproduce: Copy/Paste this into a PDT project. ------------------ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <?php echo $this->Html->charset(); ?> <!-- add tag here --> <?php echo $this->Html->css(array( 'cake.generic' )), $scripts_for_layout; ?> </head> <body></body> </html> ---------------- Attempt to add a <div> tag or another <?php ?> tag where the comment says "add tag here"
hi, I think it is duplicate of 350139,which has been fixed in head.
per Zhao's comment, closing *** This bug has been marked as a duplicate of bug 350139 ***
Verified. Ilina Stefanova