shouldForceWidgetSpan method

bool shouldForceWidgetSpan(
  1. TagflowNode element
)

Implementation

bool shouldForceWidgetSpan(TagflowNode element) {
  return ['sub', 'sup', 'mark'].contains(element.tag);
}