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

Exporting headers with spaces (and more) #5

Open
bepolymathe opened this issue Feb 10, 2020 · 1 comment
Open

Exporting headers with spaces (and more) #5

bepolymathe opened this issue Feb 10, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@bepolymathe
Copy link

Hi,

When I try to export, if I have spaces or characters like apostrophes it produces an error in graphviz.

digraph G {
concentrate=true;
obUniversités%20populaires [label="Universités populaires"];
obColloque%20et%20journées%20d’études [label="Colloque et journées d’études"];
}

The error seems to come from the % character and the apostrophes.

I don't know how we could solve... by transforming all these characters with _ ? Or any UTF8 option ?

@Kungsgeten Kungsgeten added the bug Something isn't working label Feb 24, 2020
@Kungsgeten
Copy link
Owner

There seems to be some characters which can not be used in node names i GraphViz. I noticed this with - and /, but there seems to be more. Currently the function org-brain-export--dot-id is responsible for creating the node name. That function should be changed. I think the culprit is file entries, since their ID could be anything. Maybe a hash could be created from their name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants