revert: Remove old implementation change.

This is reverted as it doesn't return accurately the information that's on the org-mode file.
This commit is contained in:
Sergio Martínez Portela 2025-04-16 00:06:00 +02:00
parent 123f5c9115
commit 9c54f83ec7

View File

@ -1816,7 +1816,7 @@ def token_list_to_plaintext(tok_list) -> str:
else: else:
assert isinstance(chunk, MarkerToken) assert isinstance(chunk, MarkerToken)
return "".join(contents).strip() return "".join(contents)
def token_list_to_raw(tok_list): def token_list_to_raw(tok_list):