e2openplugin-OpenWebif
e2openplugin-OpenWebif copied to clipboard
Use `#filter WebSafe` in .tmpl instead of services.py `filterName()` and `convertDesc()`
services.py converts to web safe characters using filterName()
and convertDesc()
Cheetah's #filter WebSafe
should be used instead.
Currently, /api/event?sRef=1%3A0%3A1%3A207A%3A808%3A2%3A11A0000%3A0%3A0%3A0%3A&idev=38202 returns:
"Ramsay's Hotel Hell"
"Gordon visits Connecticut's oldest inn..."
Should be:
"Ramsay's Hotel Hell",
"Gordon visits Connecticut's oldest inn..."
This won’t work because it’s not tmpl based.