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 579683 - html/php improper highlighting of quoted text
html/php improper highlighting of quoted text
Status: RESOLVED DUPLICATE of bug 565524
Product: gtksourceview
Classification: Platform
Component: Syntax files
unspecified
Other All
: Normal minor
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2009-04-21 04:14 UTC by Gravis
Modified: 2011-05-16 17:07 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
image of what the improper parsed line looks like (3.62 KB, image/png)
2009-04-21 04:22 UTC, Gravis
Details
image of what the improper parsed line looks like (3.62 KB, image/png)
2009-04-21 04:25 UTC, Gravis
Details
image of what the parsed line should look like (3.28 KB, image/png)
2009-04-21 04:33 UTC, Gravis
Details

Description Gravis 2009-04-21 04:14:05 UTC
Please describe the problem:
i've run into this problem when using html with inline php code.  when you use quotes in html and then inline php code, the quotes become mismatched.

example code:
<b>this is php output!</b>: "i think <?php echo "output"; ?> is good"

Steps to reproduce:
1. open gedit and change highlighting mode to php
2. paste in this text:

<b>this is php output!</b>: "i think <?php echo "output"; ?> is good"


Actual results:
the following are highlighted as being in quotes:

"i think <?php echo "
"; ?> is good"

Expected results:
the following should be highlighted as being in quotes:

"i think 
"output"
 is good"

Does this happen every time?
yes

Other information:
no, it's not a feature. -_-
Comment 1 Gravis 2009-04-21 04:21:51 UTC
my example was broken.  it has to be from highlighted quote like inside a tag.

example:
<a href="http://<?php echo "link"; ?>.htm">this is link</a>
Comment 2 Gravis 2009-04-21 04:22:42 UTC
Created attachment 133014 [details]
image of what the improper parsed line looks like
Comment 3 Gravis 2009-04-21 04:25:30 UTC
Created attachment 133015 [details]
image of what the improper parsed line looks like
Comment 4 Gravis 2009-04-21 04:33:24 UTC
Created attachment 133016 [details]
image of what the parsed line should look like
Comment 5 Melroy 2010-07-02 19:46:42 UTC
Still not solved :SS
Comment 6 Carnë Draug 2011-05-12 14:28:38 UTC
Hi!

this seems to be a duplicate of bug #565524

Could someone maybe mark it as such?
Comment 7 Carnë Draug 2011-05-16 17:07:43 UTC

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