ソースを参照

Avoid a star in a headline to be interpreted as multiline emphasis

* lisp/org-exp.el (org-export-concatenate-multiline-emphasis): Ignore
matches that start in a headline.
Carsten Dominik 14 年 前
コミット
9bc1d0c74f
1 ファイル変更3 行追加1 行削除
  1. 3 1
      lisp/org-exp.el

+ 3 - 1
lisp/org-exp.el

@@ -1838,7 +1838,9 @@ can work correctly."
     (if (and (not (= (char-after (match-beginning 3))
 		     (char-after (match-beginning 4))))
 	     (save-excursion (goto-char (match-beginning 0))
-			     (save-match-data (not (org-at-table-p)))))
+			     (save-match-data
+			       (and (not (org-at-table-p))
+				    (not (org-at-heading-p))))))
 	(org-if-unprotected
 	 (subst-char-in-region (match-beginning 0) (match-end 0)
 			       ?\n ?\  t)