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 723169 - PHP/HTML: Syntax highlight displayed wrong when apostrophes and quotes are present
PHP/HTML: Syntax highlight displayed wrong when apostrophes and quotes are pr...
Status: RESOLVED DUPLICATE of bug 565524
Product: gedit
Classification: Applications
Component: general
3.10.x
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2014-01-28 14:46 UTC by thomthomthom
Modified: 2014-02-03 10:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
PHP examples ... (20.97 KB, image/png)
2014-01-28 14:51 UTC, thomthomthom
Details

Description thomthomthom 2014-01-28 14:46:53 UTC
Gedit's syntax highlight is display wrong when apostrophes and quotes are present.

The following PHP examples are broken:

<img src="<?php echo $product["image"]; ?>" alt="" />

<img src='<?php echo $product['image']; ?>' alt='' />

<img src='<?php echo $product["image"]; ?>' alt='' />

The following is all right:
<img src="<?php echo $product['image']; ?>" alt="" />



The following ASP are wrong (each line, a broken one):

<tr class="linhacursorpointer" title="<%=rsConsulta("procedimento_codigo")%> - <%=rsConsulta("descricao")%>">

<input type="checkbox"
	value="1"
	<%
	if cbool(request.form("chkExibirProducaoDiaria")) = true then
		%>
		checked="checked"
		<%
	end if
	%>
/>

Please check the attachment.

Thanks.
Comment 1 thomthomthom 2014-01-28 14:51:29 UTC
Created attachment 267409 [details]
PHP examples ...
Comment 2 Sébastien Wilmet 2014-02-03 10:27:29 UTC

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