-
The But when the template is a component put with This adds complexity because some templates would have I guess Phoenix handles the tuple internally but I’m using Temple with Plug only. Is there a config to take just the body content without I need escaping so Thanks! EDITI started doing |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Can you provide an example? I'm not totally understanding the problem yet. |
Beta Was this translation helpful? Give feedback.
If it helps, I believe the "Phoenix.Controller.render" function in Phoenix is what call safe_to_string, so it's really the same concept.
Also, if it helps, you can have a function called View.render that takes the component and assigns and have that call safe_to_string, basically the same thing tho