changeset 5227 | b24de4b465ea |
parent 3376 | aad37ffd7d58 |
5226:38d225efcea9 | 5227:b24de4b465ea |
---|---|
14 content = fd.read() |
14 content = fd.read() |
15 |
15 |
16 return pf.RawBlock('<pre>%s</pre>' % content, "html") |
16 return pf.RawBlock('<pre>%s</pre>' % content, "html") |
17 # elem.text = content |
17 # elem.text = content |
18 |
18 |
19 def main(doc=None): |
19 def main(): |
20 return pf.run_filter(action, doc=doc) |
20 pf.toJSONFilter(action=action) |
21 |
21 |
22 |
22 |
23 if __name__ == '__main__': |
23 if __name__ == '__main__': |
24 main() |
24 main() |