Skip to content

Commit

Permalink
#3835 Adding path to list of elements to be styled
Browse files Browse the repository at this point in the history
  • Loading branch information
knsv committed Nov 21, 2022
1 parent 564414e commit 78b7941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mermaid/src/mermaidAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export const createCssStyles = (
const htmlLabels = config.htmlLabels || config.flowchart?.htmlLabels; // TODO why specifically check the Flowchart diagram config?

const cssHtmlElements = ['> *', 'span']; // TODO make a constant
const cssShapeElements = ['rect', 'polygon', 'ellipse', 'circle']; // TODO make a constant
const cssShapeElements = ['rect', 'polygon', 'ellipse', 'circle', 'path']; // TODO make a constant

const cssElements = htmlLabels ? cssHtmlElements : cssShapeElements;

Expand Down

0 comments on commit 78b7941

Please sign in to comment.