diff -r 38d225efcea9 -r b24de4b465ea docs/tutorial/mypandocfilters/raw-file.py --- a/docs/tutorial/mypandocfilters/raw-file.py Fri Nov 22 18:56:42 2019 +0100 +++ b/docs/tutorial/mypandocfilters/raw-file.py Wed Dec 18 14:10:49 2019 +0100 @@ -16,8 +16,8 @@ return pf.RawBlock('
%s' % content, "html") # elem.text = content -def main(doc=None): - return pf.run_filter(action, doc=doc) +def main(): + pf.toJSONFilter(action=action) if __name__ == '__main__':