mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-20 07:49:43 +02:00
Merge pull request #244 from ma-zal/master
flowRender.js - Fix FontAwesome icon insert
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user