emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[BUG] [ox-odt] Added leading spaces


From: Damien Cassou
Subject: [BUG] [ox-odt] Added leading spaces
Date: Mon, 10 Apr 2023 21:43:58 +0200

Hi,

in commit bb40848458512fc26ffa47d20807e3cd0211ccad (first released with
9.6), Ihor fixed a bug in ox-odt reported by AndrĂ¡s. This fix changed
the behavior of this code:

    (let* ((src "    a")
           (dest (org-odt-plain-text src nil)))
      (message
       "%S length-src=%d length-dest=%d"
       dest (length src) (length dest)))

Results are:

- before commit: "    a" length-src=5 length-dest=5
- after commit:  "        a" length-src=5 length-dest=9

After the commit, the result of `org-odt-plain-text` contains 4 more
leading spaces. Is that the expected behavior or is that a bug?

Best

-- 
Damien Cassou

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill



reply via email to

[Prev in Thread] Current Thread [Next in Thread]