-
Notifications
You must be signed in to change notification settings - Fork 338
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
Another try at sanitize. #1208
Another try at sanitize. #1208
Conversation
To better verify this I was thinking about writing a few unit tests, if this is of any help. Though of course I won't commit them, as there's no test setup right now. But I'm not really sure I fully understand what the |
The solution is from here I apologize for not having a proper test setup, reddit caught us right in the middle of a large websocket -> http rework. I have it deployed to https://voyager.lemmy.ml : Also agree its a horrendous hack, but this is the difficulty of me having to roll my own isomorphic support with inferno. In the very long-term, @SleeplessOne1917 and I (and anyone else), want to rewrite lemmy-ui in rust, using leptos-rs, which has native isomorphic support. |
Adding another method, since we've verified that one also doesn't work. |
* Sanitize again. * Adding sanitize json function. * Using serialize instead.
* Sanitize again. * Adding sanitize json function. * Using serialize instead.
I'll be testing this shortly.