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

Emoji/high codepoint strings do not work with the html! macro #150

Closed
dbkaplun opened this issue Feb 20, 2018 · 4 comments
Closed

Emoji/high codepoint strings do not work with the html! macro #150

dbkaplun opened this issue Feb 20, 2018 · 4 comments

Comments

@dbkaplun
Copy link

html! { <p>{"😐"}</p> }

Result:


@koute
Copy link
Contributor

koute commented Feb 20, 2018

This is a bug in stdweb, which I've fixed a minute ago. The fix will be available in 0.4 which will be released very soon.

Thanks for the report!

@koute
Copy link
Contributor

koute commented Feb 21, 2018

As 0.4 was just released this can be fixed now once yew updates to it.

@ndarilek
Copy link

ndarilek commented Mar 4, 2018

Sorry to hijack this, but I've been hoping for a fix to #121 for a while. I didn't know that stdweb affected the html! macro. The upgrade to 0.4 didn't resolve #121, but this seems a bit similar in that the macro fails to render when Rust code is embedded. Please see my minimal example attached to #121 which demonstrates the specific problem I'm having.

Thanks!

@jstarry
Copy link
Member

jstarry commented Aug 4, 2019

Fixed as mentioned above

@jstarry jstarry closed this as completed Aug 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants