Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Using ~ in notes are prepended with \ when copied

未关闭
#1,711 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
javascript, markdown
领域
content, frontend

调研方向

首先,在 Notes 编辑器中使用包含 ~ 的笔记复现该问题,然后将其复制到纯文本编辑器中,并将粘贴后的文本与原始文本进行比较。在 JavaScript 笔记前端中追踪复制路径,并验证复制的笔记文本在保留 ~ 的同时不会在其前面添加反斜杠。

由索引模型根据 Issue 内容生成。

描述

bug need to reproduce

Please make a clear and concise description of what the bug is.

Notes containing a ~ and copied are pasted as \~ with a prepended \

Steps to reproduce

1.create a note with a ~
2.copy the note
3.paste in a text editor

Expected behaviour

Note text is pasted as is

Actual behaviour

all ~ are prepended with a \

Server

Please complete the following information.

  • Nextcloud Server version:
    • Nextcloud 32.0.3
  • Operating system and version:
    • #1 SMP PREEMPT Debian 1:6.12.47-1+rpt1~bookworm (2025-09-16)
  • Web server and version:
    • Server version: Apache/2.4.65 (Debian)
  • Reverse proxy and version:
    • nginx version: openresty/1.27.1.2
  • PHP version:
    • PHP 8.3.29 (cli) (built: Dec 29 2025 23:29:58) (NTS)
  • Is this the first time you've seen this error? (Yes / No):
    • yes
  • When did this problem seem to first start?
    • prob direct after installation
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • OMV Container
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • nope

Nextcloud configuration:

``` { "system": { "instanceid": "***REMOVED SENSITIVE VALUE***", "version": "32.0.3.2", "loglevel": 2, "log_rotate_size": 262144, "maintenance": false, "maintenance_window_start": 3, "default_locale": "DE_CH", "default_phone_region": "CH", "datadirectory": "***REMOVED SENSITIVE VALUE***", "memcache.local": "\\OC\\Memcache\\APCu", "memcache.distributed": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "password": "***REMOVED SENSITIVE VALUE***", "port": 6379 }, "upgrade.disable-web": true, "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "mysql.utf8mb4": true, "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbname": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "dbtableprefix": "oc_", "htaccess.RewriteBase": "\/", "trusted_domains": [ "srv-nas-pi.kingma:8080", "office.kingma.ch", "office.king.ma" ], "overwrite.cli.url": "https:\/\/office.kingma.ch", "overwriteprotocol": "https", "apps_paths": [ { "path": "\/var\/www\/html\/apps", "url": "\/apps", "writable": false }, { "path": "\/var\/www\/html\/custom_apps", "url": "\/custom_apps", "writable": true } ], "mail_smtpmode": "smtp", "mail_sendmailmode": "smtp", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "465", "mail_smpttimeout": 30, "installed": true, "mail_smtpauth": true, "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "mail_smtpsecure": "ssl", "app_install_overwrite": [] } } ```

Client

Please complete the following information.

  • Browser (incl. version): Firefox 14
  • OS: Fedora 43
主要语言
JavaScript
星标
739
派生
161
平均合并
2 小时 29 分钟
30 天内合并 PR
42

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nextcloud/notes 的其他 Issue

查看 nextcloud/notes 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。