e2openplugin-OpenWebif icon indicating copy to clipboard operation
e2openplugin-OpenWebif copied to clipboard

Use `#filter WebSafe` in .tmpl instead of services.py `filterName()` and `convertDesc()`

Open wedebe opened this issue 2 years ago • 1 comments

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..."

wedebe avatar Aug 18 '22 22:08 wedebe

This won’t work because it’s not tmpl based.

jbleyel avatar Aug 19 '22 04:08 jbleyel