Browse Source

HTML export: Treat explicit links description better

Carsten Dominik 16 years ago
parent
commit
93e63999d5
2 changed files with 3 additions and 3 deletions
  1. 2 0
      lisp/ChangeLog
  2. 1 3
      lisp/org-exp.el

+ 2 - 0
lisp/ChangeLog

@@ -2,6 +2,8 @@
 
 	* org-exp.el (org-export, org-export-visible): Support ASCII
 	export to buffer
+	(org-export-normalize-links): Do not protect the description if it
+	is explicitly given.
 
 	* org-ascii.el (org-export-as-ascii-to-buffer)
 	(org-replace-region-by-ascii, org-export-region-as-ascii): New

+ 1 - 3
lisp/org-exp.el

@@ -1794,9 +1794,7 @@ When it is nil, all comments will be removed."
 		  "]"
 		  (if (match-end 3)
 		      (match-string 2)
-		    (concat "[" (org-add-props
-				    (copy-sequence xx)
-				    '(org-protected t))
+		    (concat "[" (copy-sequence xx)
 			    "]"))
 		  "]")))
 	 (put-text-property 0 (length s) 'face 'org-link s)