This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 242400 - Error in code coloring and ' interpretation in TWIG files and possibly in other HTML content
Summary: Error in code coloring and ' interpretation in TWIG files and possibly in oth...
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Twig (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-27 07:41 UTC by ethernalh
Modified: 2014-07-23 02:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (33.45 KB, text/plain)
2014-02-27 07:41 UTC, ethernalh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ethernalh 2014-02-27 07:41:22 UTC
Below is the code that is displayed by code coloring as text after "\\". since \ is used as escape for parameters \\ should be properly interpreted as display char \  but when used below everything that is after "\\" is seen as text and colored that way.

<td><a  target="_blank" href="file:///{{readRequest.document.url}}">{{readRequest.document.url|replace({("/"):"\\"})  }}</a></td>


Product Version = NetBeans IDE 7.4 (Build 201310111528)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_45
Runtime = Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Comment 1 ethernalh 2014-02-27 07:41:27 UTC
Created attachment 145623 [details]
IDE log
Comment 2 Vladimir Riha 2014-02-28 07:58:45 UTC
reproducible

Product Version: NetBeans IDE 8.0 RC1 (Build 201402242200)
Java: 1.8.0; Java HotSpot(TM) Client VM 25.0-b69
Runtime: Java(TM) SE Runtime Environment 1.8.0-b129
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Comment 3 Ondrej Brejla 2014-07-22 11:58:11 UTC
Fixed in web-main #9216c824b035
Comment 4 Quality Engineering 2014-07-23 02:08:22 UTC
Integrated into 'main-silver', will be available in build *201407230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/9216c824b035
User: Ondrej Brejla <obrejla@netbeans.org>
Log: #242400 - Error in code coloring and ' interpretation in TWIG files and possibly in other HTML content