Source

semanticeditor / semanticeditor / api.py

1
2
3
4
5
6
7
8
# This module contains the 'public' API for parsing/formatting HTML,
# used by views.py

from semanticeditor.clean import clean_html
from semanticeditor.definitions import AllUserErrors, COMMANDS, PresentationInfo, PresentationClass
from semanticeditor.extract import extract_presentation, extract_structure
from semanticeditor.format import format_html, preview_html
from semanticeditor.models import get_classes