Topic: [Bug] Bullets affect lines connected to them

Posted under Site Bug Reports & Feature Requests

Hudson

Former Staff

Bug overview description.

Adding an asterisk to get the bullet format will affect any lines directly next to it. It also works like a chain.

What part(s) of the site page(s) are affected?

DText.

What is the expected behavior?

To leave the text connected to it unformatted.

What actual behavior is given instead?

Text 1

  • Text 2

Text 1

    • Text 2
  • Text 1

Text 2

Text 1

  • Text 2

Text 3
Text 4
Text 5

This is what I typed (excluding the lines with empty code):

Text 1
* Text 2
Text 1
** Text 2
* Text 1
Text 2
Text 1
* Text 2
Text 3
Text 4 
Text 5

Time of incident (if applicable)

Once you preview or save it.

Can you reproduce the bug every time?

Yes.

What steps did you take to replicate this bug?

Simply type more text with bullets.

Errors or other messages returned (if any).

None.

Updated by titanmelon

I always just put a blank line between them, but yeah, that happens to me too.

Updated by anonymous

This is a known issue. I've barely touched bullets but it still swallows lines above and below it.

IIRC the weird spacing on the first is due to it not falling inside the proper div element.

Code tags + preserving newlines is the bane of my existence.

Updated by anonymous

Also happens with whitespace characters on a newline

Header

  • bullet point

New line

Code for that seems to be buggy too:

h4. Header
 
* bullet point
New line

-
(Think I filed a bug report about this and @parasprite mentioned buggy dtext code being worked on/modified accordingly)
Edit: Ninja'd

Updated by anonymous

  • 1