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

Insert space when text contains line break #736

Open
seezee opened this issue Nov 11, 2024 · 0 comments
Open

Insert space when text contains line break #736

seezee opened this issue Nov 11, 2024 · 0 comments

Comments

@seezee
Copy link

seezee commented Nov 11, 2024

I use markdown to create

elements like so:

Foo
  : Bar

Which outputs:

<dl>
  <dt>Foo</dt>
  <dd>Bar</dd>
</dl>

In the search result excerpt, this shows up as "FooBar".

It looks like this also occurs between text nodes in any block level element. For instance, if a paragraph ends with "Foo" and the next one starts with "Bar", the excerpt is "FooBar".

Excerpts should respect line breaks/carriage returns and insert a space between elements.

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

No branches or pull requests

1 participant