fix color link
This commit is contained in:
+1
-1
@@ -540,7 +540,7 @@ Example usage
|
|||||||
"if link description is empty use color as description.
|
"if link description is empty use color as description.
|
||||||
[[color:COLOR][DESCRIPTION]]"
|
[[color:COLOR][DESCRIPTION]]"
|
||||||
(cond
|
(cond
|
||||||
((or (eq backend 'html) (eq backend 'article-html))
|
((org-export-derived-backend-p backend 'html)
|
||||||
(let ((rgb (color-name-to-rgb color)))
|
(let ((rgb (color-name-to-rgb color)))
|
||||||
(if rgb
|
(if rgb
|
||||||
(format "<span style=\"color: rgb(%d,%d,%d)\">%s</span>"
|
(format "<span style=\"color: rgb(%d,%d,%d)\">%s</span>"
|
||||||
|
|||||||
Reference in New Issue
Block a user