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 250860 - The platin text is treated as whitespace in lexer
Summary: The platin text is treated as whitespace in lexer
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Jade (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks: 250516
  Show dependency tree
 
Reported: 2015-03-03 10:56 UTC by Petr Pisl
Modified: 2015-03-05 04:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisl 2015-03-03 10:56:44 UTC
If there is simple code:
 script(type='text/javascript').
			var _gaq = _gaq || [];
			_gaq.push(['_setAccount', 'UA-1890531-10']);
			_gaq.push(['_setDomainName', 'braitsch.io']);
			_gaq.push(['_trackPageview']);
			
then the javascript code is represented in token sequence as a whitespace. If you delete the first space infront of script tag, then it works correctly.
Comment 1 Petr Pisl 2015-03-04 13:29:59 UTC
Now should be fixed in web-main.
Comment 2 Quality Engineering 2015-03-05 04:08:05 UTC
Integrated into 'main-silver', will be available in build *201503050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/24c83713c46e
User: Petr Pisl <ppisl@netbeans.org>
Log: #250860 - The platin text is treated as whitespace in lexer