-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Markdown and line breaks #47
Comments
Hello! Thank you for reporting this. I will be checking it today and hope to have a fix asap. |
Hello! May you please provide a more in depth explanation of the issue at hand. I quite don't understand what you are reporting. |
@christopher-ramirez Try to pass this text through the markdown filter:
|
I can see the output is as spectated with the provided sample. Can you please clarify the issue? See this markdown output. |
@christopher-ramirez I'm sorry, I mean try to pass through the markdown filter in odt template. I've made a repo on github for explain this issue. |
Hello! I cloned your repo and tried the sample. The code, as cloned, raised an Unicode exception. So I checked out the markdown text and I could saw it was the same that I tried already. So this was not the issue. Then I had a look into the template, and found the issue. In the template you originally have the following filter order Hope this resolves your issue. PD.: As of Secretary 0.2.18, marking the markdown filter output "as safe" with |
@christopher-ramirez Thanks for quick answer! |
Hello I could reproduce the issue on Py3. I will check your fix and merge it. Thanks for your help. |
After this manipulation I get an escaped line breaks (
\n
converts to\\n
) and then I see\n
as text in my odt file instead of new line. Also\n\n
converts to\\n\\n
.I'm not sure about
\t
but I think it has the same issue.The text was updated successfully, but these errors were encountered: