Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wedebe opened this issue Aug 18, 2022 · 1 comment
Labels
API 🔄 /web or /ajax related Improvement 🔎 Could be done better

Comments

@wedebe
Copy link
Collaborator

wedebe commented Aug 18, 2022

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 wedebe added Feature Request 💡 Bring your ideas Improvement 🔎 Could be done better API 🔄 /web or /ajax related and removed Feature Request 💡 Bring your ideas labels Aug 18, 2022
@jbleyel
Copy link
Contributor

jbleyel commented Aug 19, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API 🔄 /web or /ajax related Improvement 🔎 Could be done better
Projects
None yet
Development

No branches or pull requests

2 participants