Thank you all for your input. I have used --wrap-none as @jgm suggested and have got past the issue.

Cheers,

On Saturday, January 29, 2022 at 10:54:38 PM UTC+5:30 John MacFarlane wrote:

It's a behavior change, not a bug.
To get the old behavior you can use --wrap=none

Nandakumar Chandrasekhar <navani...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Dear Folks,
>
> Here is a sample Pandoc file with some valid content:
>
> ---
> title: "Valid Content"
> author: "My Author"
> date: "2020-10-16"
> ---
> This is some valid content that should pass. If it does not pass we will
> know something is wrong.
>
> I would expect the line starting with "This is some valid..." to render as
> a single line wrapped in tags in HTML 5 but what I get is a line break
> after the word we which is not in my markdown content.
>
> I tried this out on "Try Pandoc" 2.17.0.1 and got the same result which I
> have attached a screenshot of to this post.
>
> I tried an older version of Pandoc 2.14 and got a single line without the
> line break as I expected.
>
> I hope someone can lend some insight on why this is happening or give me a
> workaround. I believe this might be a bug.
>
> Thanks in advance.
>
> P.S. I would like to make the suggestion that "Try Pandoc" allow users to
> choose the version of Pandoc so that it is easy to troubleshoot issues like
> these.
>
> --
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discus...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/73097554-bb6f-4aed-b465-210fd37d4f21n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/49957e81-abce-44ef-9e51-4f4993a74a8dn%40googlegroups.com.