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

Escape of dots in list items #75

Closed
susnux opened this issue Jul 4, 2022 · 1 comment
Closed

Escape of dots in list items #75

susnux opened this issue Jul 4, 2022 · 1 comment

Comments

@susnux
Copy link
Contributor

susnux commented Jul 4, 2022

When there are dots, following a number, as text in list items they must be escaped.
Found by an user of the nextcloud text app: nextcloud/text#2480


E.g. consider this text:

Hello

  • 1. world
  • 2. world
  • 3. world

which is based on this source code:

Hello
* 1\. world
* 2\. world
* 3\. world

But using the WYSIWYG editor it emits this markdown:

Hello
* 1. world
* 2. world
* 3. world

which results in:

Hello

    1. world
    1. world
    1. world

See also this example:
Example within the WYSIWYG editor

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

No branches or pull requests

2 participants