From 9c54f83ec7f4f868156bfc259a3e602e7d4fa083 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Mart=C3=ADnez=20Portela?= Date: Wed, 16 Apr 2025 00:06:00 +0200 Subject: [PATCH] revert: Remove old implementation change. This is reverted as it doesn't return accurately the information that's on the org-mode file. --- org_rw/org_rw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org_rw/org_rw.py b/org_rw/org_rw.py index a6ba0da..bc9657a 100644 --- a/org_rw/org_rw.py +++ b/org_rw/org_rw.py @@ -1816,7 +1816,7 @@ def token_list_to_plaintext(tok_list) -> str: else: assert isinstance(chunk, MarkerToken) - return "".join(contents).strip() + return "".join(contents) def token_list_to_raw(tok_list):