Skip to content

Commit

Permalink
Merge pull request #244 from ma-zal/master
Browse files Browse the repository at this point in the history
flowRender.js - Fix FontAwesome icon insert
  • Loading branch information
knsv committed Nov 4, 2015
2 parents 7fe5b5a + 5d7815c commit 17be68f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/diagrams/flowchart/flowRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ exports.addVertices = function (vert, g) {
if(conf.htmlLabels) {
labelTypeStr = 'html';
verticeText = verticeText.replace(/fa:fa[\w\-]+/g,function(s){
return '<i class="fa '+ s.substring(3)+'">';
return '<i class="fa '+ s.substring(3)+'"></i>';
});

} else {
Expand Down

0 comments on commit 17be68f

Please sign in to comment.