Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
tpl/transform: Avoid removing p tags in markdownify when marked as blocks #3786
The only senseful alternative that pops up in my mind would be
I'm fine with both unless someone has an alternative.
No, I think that is too restrictive -- this is a term that describes a text as "something"; that we in this particular case "keep paragraphs" is just an implementation detail. It is an option and a type (simliar to
moorereason left a comment
This is a simple way to work around the quirks in
However, I'm struggling with the whole idea of this PR. I understand the use case and why we are where we are, but I don't really like the seemingly magical "paragraph trim" behavior of
Two other options come to mind:
In the end, adding this
@moorereason are you willing to take all the support work of such a change?
I created the
We're not parsing either, but if a