bug with eruby in quotes
Bug #1095282 reported by
Christian Kruse
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nXhtml |
New
|
Undecided
|
Unassigned |
Bug Description
When I write code containing ruby code in quotes, the closing quotation mark is not recognized. Reproducable with `emacs -q`:
<div class="<%= 'test' %>"> <!-- " needed due to bug -->
<div class="<%= 'test' %>"> <!-- " needed due to bug -->
If I leave out the quotation mark in the HTML comment, everything is colored as if it still was in a string. I use the current HEAD of nXhtml.
`emacs-Q-nxhtml` throws an error.
`nxhtml-run-Q` hangs with 100% CPU usage, I canceled it after 20 minutes.
To post a comment you must log in.
It seems as if this is not only an eruby problem: happens in PHP, too.
Also, the real problem seems to be that after the %> the quotation area ends. more attribute values after the closing %> do get highlighted as if they were outside of the attribute value