visitEnclose method

  1. @override
String visitEnclose(
  1. EncloseNode node
)
override

Implementation

@override
String visitEnclose(EncloseNode node) {
  final content = node.content.map((it) => visit(it)).join("");
  if (node.attributes[EncloseNode.bboxAttribute] == "true") {
    return _renderBBox(content, node.attributes);
  }
  return _renderMenclose(
    content,
    node.notations,
    attributes: node.attributes,
  );
}