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

Data for rendering entities isn’t referenced correctly #51

Open
makenosound opened this issue Oct 4, 2016 · 1 comment
Open

Data for rendering entities isn’t referenced correctly #51

makenosound opened this issue Oct 4, 2016 · 1 comment

Comments

@makenosound
Copy link
Contributor

This issue team-formalist/formalist-standard-react#86 is caused by the hash of data in the renderer being strings rather than symbols:

def entity_link(data, children)
  html_tag(:a, href: data[:url]) do
    children.join
  end
end

The data blob there is actually like this:

{ "url" => "foo"}
@makenosound
Copy link
Contributor Author

Have added a temporary fix for this in the compiler: 1b3be76

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

1 participant