X-Git-Url: https://git.donarmstrong.com/?p=org-ref.git;a=blobdiff_plain;f=org-ref.el;h=784aa76cc4ccf8956ae46f003cc07a0a0e525a7f;hp=0b86ed0156fd8d76572fdb2ffdf160625cc2df0b;hb=03b6f12e4d7ca87a9b8123cc2e67e99baf6ab00d;hpb=d06422e1b0990063d3fedf2a6b4077802061c484 diff --git a/org-ref.el b/org-ref.el index 0b86ed0..784aa76 100644 --- a/org-ref.el +++ b/org-ref.el @@ -552,6 +552,8 @@ Format according to the type in `org-ref-bibliography-entry-format'." (setq output (replace-regexp-in-string "()" "" output)) ;; get rid of empty link and doi (setq output (replace-regexp-in-string " link\\." "" output)) + ;; change double dash to single dash + (setq output (replace-regexp-in-string "--" "-" output)) (setq output (replace-regexp-in-string " doi\\." "" output)) (format "
  • [%s] %s
  • " key key output)))