this is a sentence
你好, 我是 某某
Hello, I’m, 某某
他说: “很高兴见到你”
(defadvice org-html-paragraph (before fsh-org-html-paragraph-advice | |
(paragraph contents info) activate) | |
"Join consecutive Chinese lines into a single long line without | |
unwanted space when exporting org-mode to html." | |
(let ((fixed-contents) | |
(orig-contents (ad-get-arg 1)) | |
(reg-han "[[:multibyte:]]")) | |
(setq fixed-contents (replace-regexp-in-string | |
(concat "\\(" reg-han "\\) *\n *\\(" reg-han "\\)") | |
"\\1\\2" orig-contents)) | |
(ad-set-arg 1 fixed-contents) | |
)) |