slash and greater then /> in javascript break syntax highlight for php

Bug #1057165 reported by Jakub T. Jankiewicz
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gedit (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

If you use php syntax and have javascript inside <script> when you put $('<div/>'); it breaks syntax higlight. It is interpreter as closing script. To fix it you need to put

$('<div/>'); // <script>

so it enable highlight for javascript again.

description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gedit (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.