gsantner / gsantner/markor

Auto Format Breaks Writing Simple Dates

Open
#2,822 0 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

### ⚠️ This issue respects the following points: ⚠️

- [x] This is a **bug**. Not a [question or feature request](https://github.com/gsantner/markor/issues/new/choose).
- [x] The topic is **not** already reported at [Issues](https://github.com/gsantner/markor/issues?q=#js-issues-search). _(I've searched it)_.
- [x] Markor **is** up to date. See [Releases](https://github.com/gsantner/markor/tags) for the latest version. Updates are available from [F-Droid](https://f-droid.org/en/packages/net.gsantner.markor/) and GitHub.
- [x] The bug is still present in the latest development version (git master). (Please [download](https://nightly.link/gsantner/markor/workflows/build-android-project/master) and try the test version of Markor, named **Marder**. Don't worry; Markor and Marder appear as completely separate applications. You can install both side-by-side, and Markor settings are not touched. In case the issue is resolved there, you don't need to create a bug report. The change will be part of the next Markor update.)

### Description

I want to write down some dates in separate lines - german format like
"5. April 2024"
As soon as i hit enter Auto-Format changes it to
"1. April 2024"
Because its regarded to be a list.

This changes crucial Information and the first times it happened to me i sometimes didnt even notice because i went on with the Text, not expecting any changes at that point.

I think auto-numbering Should only start with number one followed by a dot.

Workaround is to turn of autofomat for the individual file, as stated in #2436

But the default setting is the Problem here.

There is a related report ( #2436 ) that refers to this behaviour happening on pasted information with manually sorted lists being changed.

Thanks for markor!

I did not try latest development Version but thats out of reach for me and it exists since years

### Steps to reproduce

1. Write 5. Anything
2. hit enter
3. See 1. anything

### Information

Android version:
Device:
App Version: 2.16.1

### Source

F-Droid

### Format / File type

Not specific

### Additional info / Log

```shell
-
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue in Markor with Auto-Format enabled by entering “5. Anything” and pressing Enter. Trace the editor’s auto-numbering or list-formatting behavior, then verify that dates such as “5. April 2024” remain unchanged while a list beginning with “1.” still formats correctly.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.