equal
deleted
inserted
replaced
9 |
9 |
10 from logilab import mtconverter |
10 from logilab import mtconverter |
11 |
11 |
12 from logilab.mtconverter.engine import TransformEngine |
12 from logilab.mtconverter.engine import TransformEngine |
13 from logilab.mtconverter.transform import Transform |
13 from logilab.mtconverter.transform import Transform |
14 from cubicweb.common.uilib import rest_publish, html_publish, remove_html_tags |
14 from cubicweb.uilib import rest_publish, html_publish, remove_html_tags |
15 |
15 |
16 HTML_MIMETYPES = ('text/html', 'text/xhtml', 'application/xhtml+xml') |
16 HTML_MIMETYPES = ('text/html', 'text/xhtml', 'application/xhtml+xml') |
17 # CubicWeb specific transformations |
17 # CubicWeb specific transformations |
18 |
18 |
19 class rest_to_html(Transform): |
19 class rest_to_html(Transform): |