فهرست منبع

Revert "* org-html.el: Bugfix: prevent infinite matching of the `&' character."

This reverts commit f6752c805ead638d81bb2718aa32c19924eb1e73.
Bastien Guerry 14 سال پیش
والد
کامیت
ed8a9616a2
1فایلهای تغییر یافته به همراه1 افزوده شده و 3 حذف شده
  1. 1 3
      lisp/org-html.el

+ 1 - 3
lisp/org-html.el

@@ -2184,9 +2184,7 @@ Possible conversions are set in `org-export-html-protect-char-alist'."
   (let ((cl org-export-html-protect-char-alist) c)
     (while (setq c (pop cl))
       (let ((start 0))
-	(while (and (string-match (car c) s start)
-		    ;; prevent infinite matching of &
-		    (not (string-match "&" s start)))
+	(while (string-match (car c) s start)
 	  (setq s (replace-match (cdr c) t t s)
 		start (match-beginning 0)))))
     s))