瀏覽代碼

ox-html.el (org-html-link): Don't throw an error if the value of the :ID: property has not been generated by uuidgen

* ox-html.el (org-html-link): Don't throw an error if the
value of the :ID: property has not been generated by uuidgen.

Thanks to Florian Beck for requesting this.
Bastien Guerry 12 年之前
父節點
當前提交
9d85946992
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      lisp/ox-html.el

+ 0 - 1
lisp/ox-html.el

@@ -2215,7 +2215,6 @@ INFO is a plist holding contextual information.  See
 	(case (org-element-type destination)
 	  ;; ID link points to an external file.
 	  (plain-text
-	   (assert (org-uuidgen-p path))
 	   (let ((fragment (concat "ID-" path))
 		 ;; Treat links to ".org" files as ".html", if needed.
 		 (path (funcall --link-org-files-as-html-maybe