Quellcode durchsuchen

Make superscripts produce a ^ in the output, instead of _

	* ox-ascii.el (org-ascii-superscript): Change _ to ^ in the output.

Reported by Suvayu Ali: http://thread.gmane.org/gmane.emacs.orgmode/86014
Nick Dokos vor 11 Jahren
Ursprung
Commit
a993e2d5e8
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      lisp/ox-ascii.el

+ 2 - 2
lisp/ox-ascii.el

@@ -1594,8 +1594,8 @@ contextual information."
 CONTENTS is the contents of the object.  INFO is a plist holding
 contextual information."
   (if (org-element-property :use-brackets-p superscript)
-      (format "_{%s}" contents)
-    (format "_%s" contents)))
+      (format "^{%s}" contents)
+    (format "^%s" contents)))
 
 
 ;;;; Strike-through