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 117404 - Syntax error on valid erb code in HTML attributevalue
Summary: Syntax error on valid erb code in HTML attributevalue
Status: RESOLVED DUPLICATE of bug 115662
Alias: None
Product: ruby
Classification: Unclassified
Component: RHTML (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-02 08:31 UTC by mcorino
Modified: 2007-10-30 18:58 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 mcorino 2007-10-02 08:31:41 UTC
RHTML constructions like this:

<div style="width: 100%; margin:0;padding:0; background: #dedede; overflow: auto; width: 100%; height: <%=
"#{@list_height}px;" %>" >

generate a syntax error.
In general embedding ruby code in the string for an elements attribute value generates a syntax error.
Comment 1 Torbjorn Norbye 2007-10-30 18:58:06 UTC

*** This issue has been marked as a duplicate of 115662 ***