gsantner / gsantner/markor

Additional paragraphs within single list item are improperly rendered

Open
#2,865 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.1k
Forks
537
Avg merge
1d 18h
Merged PRs (30d)
4

Description

# Description

Consider a document with the following contents:

```
1. One

2. Two

- Two and a half

- Two and three fourths

Two and four sixths

Two and five sixths

3. Three
```

In my tests, the document renders correctly in the preview, but not as expected in the editing view.

Screen captures of both appear below.

As seen, in the editing pane, leading space characters are not correctly interpreted for the list context.

---

Image

Image

# Information

## Environment

- Android version: LineageOS 23.2 (based on AOSP 16)
- Device (phone model): Pixel 4
- Markor version: 2.16.1

## Source

F-Droid

## Format / File type

Markdown

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue in Markor's editing view with the Markdown sample from the report, then compare it with the correctly rendered preview. Trace how leading spaces and additional paragraphs are handled for nested list items in the editing pane; done means the editing view matches the preview for this document.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java, markdown
Domain
content, mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.