fix color link

This commit is contained in:
2026-10-11 19:58:43 +02:00
parent a640b93eec
commit e47d530216
+1 -1
View File
@@ -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>"