Closed RoyalCyan closed 1 year ago
I guess that is how markdown works. If you want a new paragraph, you have to add an empty line: https://spec.commonmark.org/0.30/#paragraphs
I guess that is how markdown works. If you want a new paragraph, you have to add an empty line: https://spec.commonmark.org/0.30/#paragraphs
I see, so this it not actually a bug? In the default text editor and Notes app for Nextcloud when I press Enter the entries actually stay on different lines. Why does it work there but not in the Deck app?
afaik deck will get a new markdown edtor in the next release (?), which should then be the same as in NC Text. Maybe this behaviour will then also change. I guess the behaviour right now is within the markdown spec: https://spec.commonmark.org/0.30/#soft-line-breaks
A soft line break may be rendered in HTML either as a line ending or as a space
i.e., it was decided to render them as spaces. But I agree, that it is counter-intuitive! (for example, github renders them as line endings)
Btw, if we are at differences in the markdown rendering, here is another one:
btw, the new text editor handles a press of Enter as a new paragraph.
This is done now with the new visual editor.
How to use GitHub
Describe the bug After I have finished editing the card's description with some text that contains line breaks (pressed the Enter key), they are not displayed at all after I close the editor. Instead it stacks the text that's supposed to be on the next line right at the end of the previous one creating one continuous string on characters. Please see the screenshots below.
To Reproduce Steps to reproduce the behavior:
Expected behavior After exiting the edit mode I expect to see the text on different lines.
Screenshots
Client details:
Server details
**Operating system:** Linux 5.4.0-135-generic #152-Ubuntu SMP Wed Nov 23 20:19:22 UTC 2022 x86_64 **Web server:** Apache (fpm-fcgi) **Database:** mysql 8.0.32 **PHP version:** 8.0.27 **Nextcloud version:** 25.0.3 - 25.0.3.2 **Where did you install Nextcloud from:** Snap store **Signing status:** [] ``` Login as admin user into your Nextcloud and access http://example.com/index.php/settings/integrity/failed paste the results here. No errors have been found. ``` **List of activated apps:** - activity: 2.17.0 - admin_audit: 1.15.0 - audioplayer: 3.3.1 - bookmarks: 12.0.0 - bruteforcesettings: 2.5.0 - calendar: 4.2.3 - checksum: 1.2.0 - cloud_federation_api: 1.8.0 - comments: 1.15.0 - contacts: 5.1.0 - contactsinteraction: 1.6.0 - dashboard: 7.5.0 - dav: 1.24.0 - deck: 1.8.3 - drawio: 2.1.0 - federatedfilesharing: 1.15.0 - federation: 1.15.0 - files: 1.20.1 - files_mindmap: 0.0.27 - files_pdfviewer: 2.6.0 - files_rightclick: 1.4.0 - files_sharing: 1.17.0 - files_trashbin: 1.15.0 - files_versions: 1.18.0 - firstrunwizard: 2.14.0 - forms: 3.0.4 - issuetemplate: 0.7.0 - logreader: 2.10.0 - lookup_server_connector: 1.13.0 - nextcloud_announcements: 1.14.0 - notes: 4.6.0 - notifications: 2.13.1 - oauth2: 1.13.0 - password_policy: 1.15.0 - photos: 2.0.1 - privacy: 1.9.0 - provisioning_api: 1.15.0 - recommendations: 1.4.0 - related_resources: 1.0.3 - richdocuments: 7.1.0 - richdocumentscode: 22.5.802 - serverinfo: 1.15.0 - settings: 1.7.0 - sharebymail: 1.15.0 - spreed: 15.0.3 - support: 1.8.0 - survey_client: 1.13.0 - systemtags: 1.15.0 - text: 3.6.0 - theming: 2.0.1 - twofactor_backupcodes: 1.14.0 - unsplash: 2.1.1 - user_status: 1.5.0 - viewer: 1.9.0 - weather_status: 1.5.0 - workflow_media_converter: 1.7.0 - workflow_pdf_converter: 1.10.0 - workflowengine: 2.7.0 ``` If you have access to your command line run e.g.: sudo -u www-data php occ app:list from within your Nextcloud installation folder Could not open input file: occ ``` **Nextcloud configuration:** ``` { "apps_paths": [ { "path": "\/snap\/nextcloud\/current\/htdocs\/apps", "url": "\/apps", "writable": false }, { "path": "\/var\/snap\/nextcloud\/current\/nextcloud\/extra-apps", "url": "\/extra-apps", "writable": true } ], "supportedDatabases": [ "mysql" ], "memcache.locking": "\\OC\\Memcache\\Redis", "memcache.local": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 0 }, "log_type": "file", "logfile": "\/var\/snap\/nextcloud\/current\/logs\/nextcloud.log", "logfilemode": 416, "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "25.0.3.2", "overwrite.cli.url": "http:\/\/x", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "smtp", "mail_sendmailmode": "smtp", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtpsecure": "tls", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "587", "mail_smtpauthtype": "LOGIN", "maintenance": false, "loglevel": 2, "mail_smtpauth": 1, "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "has_rebuilt_cache": true, "default_phone_region": "EE", "app_install_overwrite": [ "issuetemplate" ] } ``` **Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/... OC\User\DatabaseLogs
#### Nextcloud log (data/nextcloud.log) ``` Don't know how to get the logs. ``` #### Browser log ``` Proxying an event bus of version 2.1.1 with 1.3.0 [core-common.js:2:84006](https://redacted.com/dist/core-common.js?v=9512f662-52) JQMIGRATE: Migrate is installed, version 3.4.0 [core-common.js:2:9800255](https://redacted.com/dist/core-common.js?v=9512f662-52) Proxying an event bus of version 2.1.1 with 1.3.0 [core-common.js:2:84006](https://redacted.com/dist/core-common.js?v=9512f662-52) jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. [globals.js:60:15](webpack:///nextcloud/core/src/globals.js) $ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. [globals.js:60:15](webpack:///nextcloud/core/src/globals.js) Proxying an event bus of version 2.1.1 with 1.3.0 [core-common.js:2:84006](https://redacted.com/dist/core-common.js?v=9512f662-52) OCA.Files.Sidebar initialized [Sidebar.js:36:10](webpack:///nextcloud/apps/files/src/services/Sidebar.js) OCA.Files.Sidebar initialized [sidebar.js:39:8](webpack:///nextcloud/apps/files/src/sidebar.js) Proxying an event bus of version 2.1.1 with 1.3.0 [core-common.js:2:84006](https://redacted.com/dist/core-common.js?v=9512f662-52) Proxying an event bus of version 2.1.1 with 1.3.0 [core-common.js:2:8852531](https://redacted.com/dist/core-common.js?v=9512f662-52) Proxying an event bus of version 2.1.1 with 3.0.0 [core-common.js:2:8553369](https://redacted.com/dist/core-common.js?v=9512f662-52) OCA.Sharing.ShareSearch initialized [ShareSearch.js:33:10](webpack:///nextcloud/apps/files_sharing/src/services/ShareSearch.js) OCA.Sharing.ExternalLinkActions initialized [ExternalLinkActions.js:33:10](webpack:///nextcloud/apps/files_sharing/src/services/ExternalLinkActions.js) OCA.Sharing.ExternalShareActions initialized [ExternalShareActions.js:33:10](webpack:///nextcloud/apps/files_sharing/src/services/ExternalShareActions.js) Proxying an event bus of version 2.1.1 with 3.0.2 [index.esm.js:11:20](webpack:///activity/node_modules/@nextcloud/event-bus/dist/index.esm.js) Proxying an event bus of version 2.1.1 with 3.0.2 [index.js:19:20](webpack:///activity/node_modules/@nextcloud/event-bus/dist/index.js) Proxying an event bus of version 2.1.1 with 1.3.0 [index.es.js:2337:14](webpack:///activity/node_modules/@nextcloud/logger/node_modules/@nextcloud/event-bus/dist/index.es.js) Proxying an event bus of version 2.1.1 with 1.3.0 [index.es.js:2337:14](webpack:///checksum/node_modules/@nextcloud/event-bus/dist/index.es.js) Proxying an event bus of version 2.1.1 with 1.3.0 [core-common.js:2:84006](https://redacted.com/dist/core-common.js?v=9512f662-52) Proxying an event bus of version 2.1.1 with 3.0.0 [core-common.js:2:8553369](https://redacted.com/dist/core-common.js?v=9512f662-52) jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. [globals.js:60:15](webpack:///nextcloud/core/src/globals.js) $ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. [globals.js:60:15](webpack:///nextcloud/core/src/globals.js) OCA.Comments.View initialized [comments-app.js:32:8](webpack:///nextcloud/apps/comments/src/comments-app.js) Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20 2 [globals.js:60:15](webpack:///nextcloud/core/src/globals.js) Proxying an event bus of version 2.1.1 with 3.0.2 [ProxyBus.ts:16:20](webpack:///lib/ProxyBus.ts) Proxying an event bus of version 2.1.1 with 3.0.2 [ProxyBus.ts:16:20](webpack:///lib/ProxyBus.ts) jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. [globals.js:60:15](webpack:///nextcloud/core/src/globals.js) Proxying an event bus of version 2.1.1 with 3.0.2 [ProxyBus.ts:16:20](webpack:///lib/ProxyBus.ts) Proxying an event bus of version 2.1.1 with 3.0.2 [ProxyBus.ts:16:20](webpack:///lib/ProxyBus.ts) Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). [injectPageScript.js:41:52](moz-extension://3e8cb725-a4a5-4336-8556-bac4b4dcf26b/content/TokenSigning/injectPageScript.js) Proxying an event bus of version 2.1.1 with 3.0.2 [bookmarks-collections.js:2:374724](https://redacted.com/extra-apps/bookmarks/js/bookmarks-collections.js?v=9512f662-52) Proxying an event bus of version 2.1.1 with 3.0.2 [bookmarks-collections.js:2:1312452](https://redacted.com/extra-apps/bookmarks/js/bookmarks-collections.js?v=9512f662-52) Proxying an event bus of version 2.1.1 with 1.3.0 [bookmarks-collections.js:2:28841](https://redacted.comextra-apps/bookmarks/js/bookmarks-collections.js?v=9512f662-52) Proxying an event bus of version 2.1.1 with 3.0.2 [index.esm.js:11:20](webpack:///deck/node_modules/@nextcloud/event-bus/dist/index.esm.js) Proxying an event bus of version 2.1.1 with 3.0.2 [index.esm.js:11:12](webpack:///deck/node_modules/@nextcloud/event-bus/dist/index.esm.js) Proxying an event bus of version 2.1.1 with 1.3.0 [index.es.js:2337:6](webpack:///deck/node_modules/@nextcloud/logger/node_modules/@nextcloud/event-bus/dist/index.es.js) Proxying an event bus of version 2.1.1 with 3.0.2 [index.js:19:12](webpack:///deck/node_modules/@nextcloud/event-bus/dist/index.js) Proxying an event bus of version 2.1.1 with 3.0.2 [AppNavigation.vue:1](webpack://deck/src/components/navigation/AppNavigation.vue?c11e) Proxying an event bus of version 2.1.1 with 1.3.0 [index.es.js:2337:6](webpack:///deck/node_modules/@nextcloud/logger/node_modules/@nextcloud/event-bus/dist/index.es.js) Proxying an event bus of version 2.1.1 with 3.0.2 [index.js:19:12](webpack:///deck/node_modules/@nextcloud/event-bus/dist/index.js) Proxying an event bus of version 2.1.1 with 1.3.0 [index.es.js:2337:6](webpack:///deck/node_modules/nextcloud-vue-collections/node_modules/@nextcloud/event-bus/dist/index.es.js) OC.getCapabilities is deprecated and will be removed in Nextcloud 21. See @nextcloud/capabilities 2 [capabilities.js:35:9](webpack:///nextcloud/core/src/OC/capabilities.js) OCA.Search is deprecated. Please use the unified search API instead [search.js:29:10](webpack:///nextcloud/core/src/OCA/search.js) Proxying an event bus of version 2.1.1 with 3.0.2 [jsonp chunk loading:1:58](webpack:///viewer/webpack/runtime/jsonp%20chunk%20loading) Proxying an event bus of version 2.1.1 with 1.3.0 [index.es.js:2337:14](webpack:///viewer/node_modules/@nextcloud/logger/node_modules/@nextcloud/event-bus/dist/index.es.js) [WARN] viewer: Some mimes were ignored because they are not enabled in the server previews config Object { level: 2, app: "viewer", uid: "rudolf", ignoredMimes: (3) […] } [ConsoleLogger.js:60:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js) OCA.Viewer initialized [Viewer.js:51:25](webpack:///viewer/src/services/Viewer.js) Proxying an event bus of version 2.1.1 with 1.3.0 [index.es.js:2337:14](webpack:///richdocuments/node_modules/@nextcloud/vue/node_modules/@nextcloud/auth/node_modules/@nextcloud/event-bus/dist/index.es.js) Proxying an event bus of version 2.1.1 with 3.0.2 [index.esm.js:11:20](webpack:///event-bus/dist/index.esm.js) Proxying an event bus of version 2.1.1 with 3.0.2 [index.js:19:20](webpack:///text/node_modules/@nextcloud/event-bus/dist/index.js) oc_appswebroots is deprecated: use OC.appswebroots instead, this will be removed in Nextcloud 20 [globals.js:60:15](webpack:///nextcloud/core/src/globals.js) jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 2 [globals.js:60:15](webpack:///nextcloud/core/src/globals.js) Proxying an event bus of version 2.1.1 with 3.0.2 [ProxyBus.ts:16:20](webpack:///lib/ProxyBus.ts) Proxying an event bus of version 2.1.1 with 3.0.2 [ProxyBus.ts:16:20](webpack:///lib/ProxyBus.ts) Proxying an event bus of version 2.1.1 with 1.3.0 [index.es.js:2337:14](webpack:///notifications/node_modules/@nextcloud/notify_push/node_modules/@nextcloud/auth/node_modules/@nextcloud/event-bus/dist/index.es.js) $ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. [globals.js:60:15](webpack:///nextcloud/core/src/globals.js) Registering notifications container as a menu [NotificationsApp.vue:220](webpack:///notifications/src/NotificationsApp.vue) $ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 2 [globals.js:60:15](webpack:///nextcloud/core/src/globals.js) Notifications permissions granted [NotificationsApp.vue:461](webpack:///notifications/src/NotificationsApp.vue) Polling interval updated to 30000 [NotificationsApp.vue:421](webpack:///notifications/src/NotificationsApp.vue) Started background fetcher as session_keepalive is enabled [NotificationsApp.vue:283](webpack:///notifications/src/NotificationsApp.vue) Proxying an event bus of version 2.1.1 with 1.3.0 [core-common.js:2:84006](https://redacted.com/dist/core-common.js?v=9512f662-52) Proxying an event bus of version 2.1.1 with 3.0.0 [core-common.js:2:8553369](https://redacted.com/dist/core-common.js?v=9512f662-52) session heartbeat polling started [session-heartbeat.js:103:9](webpack:///nextcloud/core/src/session-heartbeat.js) This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. [jquery-3.5.1.min.js:2:49985](moz-extension://b7ee7468-2dac-43c6-818f-df38d53a3f4f/scripts/thirdParty/jquery-3.5.1.min.js) Proxying an event bus of version 2.1.1 with 3.0.2 [index.js:19:20](webpack://related_resources/node_modules/@nextcloud/axios/node_modules/@nextcloud/event-bus/dist/index.js) Got notification data [NotificationsApp.vue:384](webpack:///notifications/src/NotificationsApp.vue) Polling interval updated to 30000 [NotificationsApp.vue:421](webpack:///notifications/src/NotificationsApp.vue) $ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 2 [globals.js:60:15](webpack:///nextcloud/core/src/globals.js) You need to fill either the text or the ariaLabel props in the button component. Object { text: null, ariaLabel: null } Object { _uid: 441, _isVue: true, __v_skip: true, _scope: {…}, "$options": {…}, _renderProxy: {…}, _self: {…}, "$parent": {…}, "$root": {…}, "$children": (1) […], … } [index.module.js:2:778475](webpack:///deck/node_modules/@nextcloud/vue/dist/index.module.js) No new notification data received [NotificationsApp.vue:389](webpack:///notifications/src/NotificationsApp.vue) Polling interval updated to 30000 [NotificationsApp.vue:421](webpack:///notifications/src/NotificationsApp.vue) jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 268 [globals.js:60:15](webpack:///nextcloud/core/src/globals.js) Source map error: Error: request failed with status 404 Resource URL: https://redacted.com/extra-apps/bookmarks/js/bookmarks-collections.js?v=9512f662-52 Source Map URL: bookmarks-collections.js.map?v=53cbfc02c50243b47d67 ```