X-Git-Url: https://git.donarmstrong.com/?p=org-ref.git;a=blobdiff_plain;f=org-ref.el;fp=org-ref.el;h=080fa5e6162d515d2ec44c19475ffb10560e4de4;hp=a3ad826e09d77d2951c0ea402332609c040c61e9;hb=b644188e26279d3c624cfe40e858dd011c30f0b1;hpb=fbce85ca531785fa1ca8ead05b5ca6b9eff1c8d8
diff --git a/org-ref.el b/org-ref.el
index a3ad826..080fa5e 100644
--- a/org-ref.el
+++ b/org-ref.el
@@ -972,7 +972,7 @@ ARG does nothing."
(org-ref-count-labels label))))
(lambda (keyword desc format)
(cond
- ((eq format 'html) (format "()" path))
+ ((eq format 'html) (format "()" keyword))
((eq format 'latex)
(format "\\label{%s}" keyword)))))
@@ -1051,7 +1051,7 @@ ARG does nothing."
;formatting
(lambda (keyword desc format)
(cond
- ((eq format 'html) (format "([%s])" path))
+ ((eq format 'html) (format "([%s])" keyword))
((eq format 'latex)
(format "\\ref{%s}" keyword)))))