motionbank / score-system-frontend

Backbone.js based single app frontend for our score websites.
1 stars 1 forks source link

Extra double quotes around inline CSS #67

Closed mlewisosu closed 10 years ago

mlewisosu commented 10 years ago

We were adding CSS inline in an HTML cell, and it wasn't working. When I look at the source code generated in the set, I find this was generated:

<span style="”color:rgba(255,255,255,0.35);”">----- Thomas Hauert</span>

Notice there are now repeating double quotes around the CSS that weren't in the HTML we added. (Our HTML said …style="color:rgba…)

If I remove the quotes from our HTML (…style=color:rgba…) then generate the set, it adds a pair of double quotes around the CSS, making it what we expected.

<span style="color:rgba(255,255,255,0.35);">----- Thomas Hauert</span>
martinleopold commented 10 years ago

Looks like you were using the wrong kind of double quotes: instead of "

mlewisosu commented 10 years ago

Acknowledged, thanks.