Skip to content

Bug: Lists of elements get merged together when changing text type to "Body" #28

@Gigusx

Description

@Gigusx

Hello!

I've found a bug that occurs when you have multiple lists of elements in the text, and you change the text type to "body" while multiple lists are selected. All lists get merged into a single list, placed one after another starting at the position of the first list.

Example:

bug1

When all text is selected and changed into "Body", the output is:

bug2

(another bug: numbers in a numbered list always get converted into 1s when a list is converted to "Body")

Now, this doesn't always happen. If you just write random paragraphs and lists, things might work as expected. I suspect the bug is due to some markup present in the above example, but haven't figured out the exact cause yet. Also, it doesn't seem to happen when you change to other types than Body.

Below is an example of markup (saved by Writty) on which the bug does occur. Change the file back to .html and open it in Writty.

bug.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions