toolstack / Folio

A beautiful markdown note-taking app for GNOME (forked from Paper)
GNU General Public License v3.0
185 stars 22 forks source link

Some lines have line indents while others do not #164

Closed qumuq-til closed 2 months ago

qumuq-til commented 2 months ago

Consider the following snippet

numero uno
12411116 3.0.9

192218181 ttc
3758136b

When copypasted into a new note in Folio the snippet looks like this:

numero uno
  12411116 3.0.9

  192218181 ttc
3758136b

Whatever the cause, all lines should start with a zero indent, at least there should be an option for that. I don't use Folio for writing long texts, mostly just to keep some data, so those indents are a nuisance.

toolstack commented 2 months ago

Well that's very strange, the number has to have a space after it to trigger this behaviour as well.

machitgarha commented 2 months ago

This might be because of the text being mistakenly considered as an ordered list, due to the incorrect regex in the code.

toolstack commented 2 months ago

Agreed that the ordered lists formatting is likely the root cause.