mirror of
https://github.com/org-roam/org-roam
synced 2025-09-30 17:00:56 -05:00
(bugfix): quote graphviz configuration options (#537)
Always quote graphviz configuration options. This allows passing configurations with spaces. Fixes #535.
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
### Bugfixes
|
||||
* [#509](https://github.com/jethrokuan/org-roam/pull/509) fix backup files being tracked in database
|
||||
* [#509](https://github.com/jethrokuan/org-roam/pull/509) fix external org files being tracked in database
|
||||
* [#537](https://github.com/jethrokuan/org-roam/pull/537) quote graphviz node and edge configuration options to allow multi-word configurations
|
||||
|
||||
## 1.1.0 (21-04-2020)
|
||||
|
||||
|
@@ -163,7 +163,8 @@ into a digraph."
|
||||
(insert (org-roam-graph--dot-option option) ";\n"))
|
||||
(dolist (attribute '("node" "edge"))
|
||||
(insert (format " %s [%s];\n" attribute
|
||||
(mapconcat #'org-roam-graph--dot-option
|
||||
(mapconcat (lambda (var)
|
||||
(org-roam-graph--dot-option var nil "\""))
|
||||
(symbol-value
|
||||
(intern (concat "org-roam-graph-" attribute "-extra-config")))
|
||||
","))))
|
||||
|
Reference in New Issue
Block a user