mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-09 18:39:41 +02:00
flowRender.js - Fix fontAwesome icon insert
Missing ending tag </i> in fontAwesome icon inserting.
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