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

Preserve bullet list style and change default style to - #3523

Merged
merged 4 commits into from
Dec 7, 2022

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Dec 6, 2022

📝 Summary

First this generally make text preserve the bullet style used for lists (and also task lists).
And also sets the default list style to - as discussed in the comments of #1297 .

Added also test cases (and slightly refactored the test code to remove duplicated code (helpers)).

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits
  • Tests (unit, integration and/or end-to-end) passing and the changes are covered with tests
  • Documentation (README or documentation) has been updated or is not required

@susnux
Copy link
Contributor Author

susnux commented Dec 6, 2022

/compile

@cypress
Copy link

cypress bot commented Dec 6, 2022



Test summary

111 0 0 0Flakiness 1


Run details

Project Text
Status Passed
Commit 6c0d07f
Started Dec 7, 2022 10:33 AM
Ended Dec 7, 2022 10:39 AM
Duration 06:22 💡
OS Linux Ubuntu -
Browser Electron 106

View run in Cypress Dashboard ➡️


Flakiness

cypress/e2e/sections.spec.js Flakiness
1 Content Sections > Heading anchors > Anchor scrolls into view

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@max-nextcloud

This comment was marked as resolved.

Copy link
Collaborator

@max-nextcloud max-nextcloud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All looks good.
I might as well rebase and fix the remaining test so we can get this in. Hope you don't mind.

Comment on lines +8 to +12
/*
* This file is for various markdown tests, mainly testing if input and output stays the same.
*
* Please add test belonging to some Node or Mark to the corresponding file in './nodes/` or `./marks/`
*/
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Thanks for the separation. Makes lot's of sense.

1. Preserve the bullet style used for lists (also task lists)
2. Set default style to `-`

Signed-off-by: Ferdinand Thiessen <[email protected]>
@max-nextcloud
Copy link
Collaborator

/compile

Signed-off-by: nextcloud-command <[email protected]>
@max-nextcloud max-nextcloud merged commit 116f141 into master Dec 7, 2022
@delete-merged-branch delete-merged-branch bot deleted the fix/list-style branch December 7, 2022 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Preserve bullet used for lists (-, * or +) Incorrect Task List syntax
3 participants