Fix footnote
This commit is contained in:
@@ -1107,7 +1107,7 @@ contextual information."
|
|||||||
;; Protect `, *, _ and \
|
;; Protect `, *, _ and \
|
||||||
(setq text (replace-regexp-in-string "[`*_\\]" "\\\\\\&" text))
|
(setq text (replace-regexp-in-string "[`*_\\]" "\\\\\\&" text))
|
||||||
;; Protect ..
|
;; Protect ..
|
||||||
(setq text (replace-regexp-in-string "^[\s-]*\\.\\. " "\\\\.. " text))
|
(setq text (replace-regexp-in-string "^[\s-]*\\.\\. [^\\[]" "\\\\.. " text))
|
||||||
;; Protect ^\d+.
|
;; Protect ^\d+.
|
||||||
(setq text (replace-regexp-in-string "^\\(\\d\\)+\\." "\\1\\." text))
|
(setq text (replace-regexp-in-string "^\\(\\d\\)+\\." "\\1\\." text))
|
||||||
;; Handle break preservation, if required.
|
;; Handle break preservation, if required.
|
||||||
|
|||||||
Reference in New Issue
Block a user