diff --git a/modules/input/chinese/config.el b/modules/input/chinese/config.el index 1736ba3fd..7cbc99202 100644 --- a/modules/input/chinese/config.el +++ b/modules/input/chinese/config.el @@ -40,14 +40,9 @@ when exporting org-mode to html." :filter-args #'org-html-paragraph (cl-destructuring-bind (paragraph contents info) args (let* ((fix-regexp "[[:multibyte:]]") - (origin-contents - (replace-regexp-in-string - "<[Bb][Rr] */>" - "" - contents)) (fixed-contents (replace-regexp-in-string (concat "\\(" fix-regexp "\\) *\n *\\(" fix-regexp "\\)") "\\1\\2" - origin-contents))) + contents))) (list paragraph fixed-contents info)))) diff --git a/modules/input/japanese/config.el b/modules/input/japanese/config.el index 407c029e3..39f5041eb 100644 --- a/modules/input/japanese/config.el +++ b/modules/input/japanese/config.el @@ -47,14 +47,9 @@ when exporting org-mode to html." :filter-args #'org-html-paragraph (cl-destructuring-bind (paragraph contents info) args (let* ((fix-regexp "[[:multibyte:]]") - (origin-contents - (replace-regexp-in-string - "<[Bb][Rr] */>" - "" - contents)) (fixed-contents (replace-regexp-in-string (concat "\\(" fix-regexp "\\) *\n *\\(" fix-regexp "\\)") "\\1\\2" - origin-contents))) + contents))) (list paragraph fixed-contents info))))