Skip to content

Commit

Permalink
fix style parsing bug for attributes containing colon
Browse files Browse the repository at this point in the history
  • Loading branch information
vladflorescu-st committed Jul 25, 2017
1 parent 4a586b3 commit 31ea439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/model/ParserHtml.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = config => {
if(!decl)
continue;
var prop = decl.split(':');
result[prop[0].trim()] = prop[1].trim();
result[prop[0].trim()] = prop.slice(1).join(':').trim();
}
return result;
},
Expand Down

0 comments on commit 31ea439

Please sign in to comment.