move decodeEntities to utils

This commit is contained in:
Aakansha Doshi
2023-11-03 13:25:26 +05:30
parent 6a5b7c40bd
commit 58bad981be
4 changed files with 6 additions and 4 deletions

View File

@@ -1,9 +1,9 @@
import createLabel from '../createLabel.js';
import { createText } from '../../rendering-util/createText.js';
import { getConfig } from '../../diagram-api/diagramAPI.js';
import { decodeEntities } from '../../mermaidAPI.js';
import { select } from 'd3';
import { evaluate, sanitizeText } from '../../diagrams/common/common.js';
import { decodeEntities } from '../../utils.js';
export const labelHelper = async (parent, node, _classes, isNode) => {
let classes;