diff --git a/filter_plugins/reslash.py b/filter_plugins/reslash.py new file mode 100644 index 0000000..6e8450c --- /dev/null +++ b/filter_plugins/reslash.py @@ -0,0 +1,11 @@ +#!/usr/bin/env python +def filter_reslash(val): + return val.replace('\\', '/') + +class FilterModule(object): + filter_map = { + 'reslash': filter_reslash + } + + def filters(self): + return self.filter_map