After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 674212 - double quotes in PHP code between double quotes of HTML attributes break the highlighting
double quotes in PHP code between double quotes of HTML attributes break the ...
Status: RESOLVED DUPLICATE of bug 565524
Product: gtksourceview
Classification: Platform
Component: Syntax files
3.6.x
Other Linux
: Normal major
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2012-04-16 17:53 UTC by h7e
Modified: 2013-01-20 03:26 UTC
See Also:
GNOME target: ---
GNOME version: 3.1/3.2


Attachments
screenshot of the behavior (17.91 KB, image/png)
2012-04-16 17:53 UTC, h7e
Details

Description h7e 2012-04-16 17:53:15 UTC
Created attachment 212162 [details]
screenshot of the behavior

Overview:

    When you enter some PHP code which contains double quotes between the
    opening and closing double quote of an HTML attribute, the first double
    quote is considered being the closing double quote of the HTML attribute.

Steps to Reproduce:

    1) Create a new PHP file and enter <tag attribute="<?=$array["key"]?>"/>

Additional Information:

    As a workaround I use single quotes instead of double quotes.
    <tag attribute="<?=$array['key']?>"/>
Comment 1 h7e 2012-04-16 19:36:05 UTC

*** This bug has been marked as a duplicate of bug 617950 ***
Comment 2 h7e 2013-01-20 03:13:15 UTC

*** This bug has been marked as a duplicate of bug 565524 ***