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

Resources links include line breaks #51

Closed
diego-vicente opened this issue Jun 26, 2017 · 1 comment
Closed

Resources links include line breaks #51

diego-vicente opened this issue Jun 26, 2017 · 1 comment

Comments

@diego-vicente
Copy link

It seems that org-brain is able to detect automatically the links inside the of the notes (which is a super cool feature). However, I like to use auto-fill mode to wrap the lines at 79 characters, so sometimes I have line breaks in those links. For example, in this note:

screen shot 2017-06-26 at 23 26 35

I get this result when using org-brain-visualize:

screen shot 2017-06-26 at 23 26 59

I'm not sure if this is the desired behavior for the resources, but I think it looks a bit off. Is this a problem my configuration or it is actually an org-brain bug/feature?

@Kungsgeten
Copy link
Owner

Hi! Good catch! org-brain just fetches the text of the link (using org-element) and apparently this includes linebreaks. I've commited a fix, thanks!

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

2 participants