diff --git a/ox-rst.el b/ox-rst.el index 055ffeb..8ea0562 100644 --- a/ox-rst.el +++ b/ox-rst.el @@ -1074,6 +1074,8 @@ contextual information." (setq text (replace-regexp-in-string "[`*_\\]" "\\\\\\&" text)) ;; Protect .. (setq text (replace-regexp-in-string "^[\s-]*\\.\\. [^\\[]" "\\\\\\&" text)) + ;; Protect :: + (setq text (replace-regexp-in-string "::" "\\\\:\\\\:" text)) ;; Return value. text)