Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forum posts can not start with a list (space is automatically removed) #1335

Closed
Thomas-Do opened this issue Aug 20, 2024 · 0 comments · Fixed by #1350
Closed

Forum posts can not start with a list (space is automatically removed) #1335

Thomas-Do opened this issue Aug 20, 2024 · 0 comments · Fixed by #1350

Comments

@Thomas-Do
Copy link

When saving a post, preceding space characters are automatically deleted. However, when using list elements a preceding space an essential part of the format. So, it is not possible to start posts with a normal or numbered list, because the formatting gets corrupted. The preview before saving looks fine.

chris34 added a commit to chris34/inyoka-pub that referenced this issue Oct 12, 2024
Otherwise valid InyokaMarkup like

```
 * a
 * b
```

will be rendered wrong, as the space before `* a` is stripped.

The `validate_empty_text` validator of `StrippedCharField` assures
that still no empty content can be submitted.

Fix inyokaproject#1335
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant