Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

string escaping failure? #23

Open
cemerick opened this issue Dec 12, 2016 · 1 comment
Open

string escaping failure? #23

cemerick opened this issue Dec 12, 2016 · 1 comment

Comments

@cemerick
Copy link

(rhizome.viz/view-graph #{:a :b} {:a [:b]}
                        :edge->descriptor (fn [_ _]
                                            {:label '[:a {:b "c"}]}))
; IllegalArgumentException Error: <stdin>: syntax error in line 8 near '"'

I think I might be running aground on the "show label as record" feature, and pr-str'ing is actually what I want here (and what I thought it was doing for the longest anyway), but I thought I'd file an issue just in case.

@ztellman
Copy link
Owner

I think the "failure" here is that I'm not doing any escaping whatsoever. I should probably do some.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants