Skip to content
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

First line of content always outside <p> tag #298

Open
snarfed opened this issue Feb 20, 2024 · 1 comment
Open

First line of content always outside <p> tag #298

snarfed opened this issue Feb 20, 2024 · 1 comment

Comments

@snarfed
Copy link
Member

snarfed commented Feb 20, 2024

I'm noticing an odd behavior with multi-line input content: the first line is outside a <p> tag, then each following line is inside a <p> tag. @dshanske I assume that's not intentional, right?

For example, a request with h=entry&content=foo%0A%0Abar%0A%0Abaz (%0A is a URL-encoded newline) results in:

<div class="e-content">foo
<p>bar</p>
<p>baz</p>
</div>
@dshanske
Copy link
Member

Definitely not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants