[I] Numbered lists are bounded to 255
还没有人认领这个 Issue。
评估
调研方向
首先找到 Markdown 有序列表的渲染代码及其相关测试;issue 没有指定具体文件或入口点。使用提供的编号从 254 到 257 的列表重现问题,然后确认四个条目都以完整编号渲染,并为此情况添加回归测试。
由索引模型根据 Issue 内容生成。
描述
Expected behaviour
Numbered lists are not bounded
(and webAppClientService/connectionName and MAIL fields should be anonymized when toggling Anonymize personal informations in the issue assistant)
Actual behaviour
After item #255, items are rendered with #(n%255),
Steps to reproduce
Create a numbered list starting from 254 and add 3 elements, e.g. :
254. item
255. other
256. problem
257. at least it counts
Relevant log output in the Log panel
Expand
[04:08:31] [status] ☑️ Vos tâches ont été récupérées de votre serveur
Information about the application, settings and environment
Expand
QOwnNotes Debug Information
General Info
Current Date: Tue Dec 1 04:08:29 2026
Version: 26.11.18
Build date: Nov 11 2011
Build number: 1427
Platform: linux (wayland)
Operating System: KDE Flatpak runtime
Build architecture: x86_64
Current architecture: x86_64
Release: GitHub
Qt Version (build): 6.11.3
Qt Version (runtime): 6.11.3
KDE integration: disabled
Portable mode: no
Settings path / key: /home/<user>/.var/app/org.qownnotes.QOwnNotes/config/PBE/QOwnNotes.conf
Settings override path: /home/<user>/.var/app/org.qownnotes.QOwnNotes/config/PBE/QOwnNotes.override.conf
Settings loaded from override: 0
Application database path: /home/<user>/.var/app/org.qownnotes.QOwnNotes/data/PBE/QOwnNotes/QOwnNotes.sqlite
Application arguments: QOwnNotes
Qt Debug: no
System Botan: no
Libgit2: yes
QLiteHtml: yes
Locale (system): fr_FR
Locale (interface): empty
Primary screen resolution: 1829x1029
Icon theme: breeze-dark-qownnotes
Notes in current note folder: 177
Calendar items: 7
Enabled scripts: 0
Database drivers: QSQLITE
Server Info
serverUrl: https://ppp.woelkli.com
appIsValid: no
notesPathExists: unknown
connectionErrorMessage: Error transferring https://ppp.woelkli.com/index.php/apps/qownnotesapi/api/v1/note/app_info?format=json¬es_path=/ - server replied:
Spellchecking
Enabled: true
Selected language: auto
Language codes: en_AU, en_BS, en_BZ, en_CA, en_GB, en_GH, en_IE, en_IL, en_IN, en_JM, en_MW, en_NA, en_NZ, en_PH, en_TT, en_US, en_ZA, en_ZW, fr_BE, fr_BF, fr_BJ, fr_CA, fr_CH, fr_CI, fr_FR, fr_LU, fr_MC, fr_ML, fr_NE, fr_SN, fr_TG
Language names: Australian English (Australia), English (Bahamas), English (Belize), Canadian English (Canada), British English (United Kingdom), English (Ghana), English (Ireland), English (Israel), English (India), English (Jamaica), English (Malawi), English (Namibia), English (New Zealand), English (Philippines), English (Trinidad & Tobago), American English (United States), English (South Africa), English (Zimbabwe), français (Belgique), français (Burkina Faso), français (Bénin), français canadien (Canada), français suisse (Suisse), français (Côte d’Ivoire), français (France), français (Luxembourg), français (Monaco), français (Mali), français (Niger), français (Sénégal), français (Togo)
Application dictionaries path: /home/<user>/.var/app/org.qownnotes.QOwnNotes/data/PBE/QOwnNotes/dicts
Note folders
currentNoteFolderId: 1
Note folder note-folder-1
id: 1
isCurrent: yes
activeTagId: 0
localPath: /home/<user>/Nextcloud/Notes
remotePath: /note-folder-1
cloudConnectionId: 1
isShowSubfolders: yes
isUseGit: no
allowDifferentNoteFileName: no
activeNoteSubFolder name: empty
database file: /home/<user>/Nextcloud/Notes/notes.sqlite
Cloud connections
Cloud connection cloud-connection-1
id: 1
isCurrent: yes
serverUrl: https://ppp.woelkli.com
username: <cloud-connection-1-user>
accountId: <cloud-connection-1-account>
Enabled scripts
Settings
ActiveNoteHistoryItem (NoteHistoryItem): empty
CloudConnection-1/nextcloudDeckEnabled (QString): false
Debug/fakeOldVersionNumber (QString): false
Debug/fileLogging (QString): false
Editor/CurrentSchemaKey (QString): EditorColorSchema-cdbf28fc-1ddc-4d13-bb21-6a4043316a2f
Editor/autoBracketClosing (QString): true
Editor/autoBracketRemoval (QString): true
Editor/disableCursorBlinking (QString): false
Editor/editorWidthInDFMOnly (QString): true
Editor/highlightCurrentLine (QString): true
Editor/indentSize (QString): 4
Editor/removeTrailingSpaces (QString): false
Editor/showLineNumbers (QString): false
Editor/useTabIndent (QString): false
Editor/vimMode (QString): false
FileDialog/LastPath (QString): /var/home/<user>/Nextcloud/Documents/doc
FileDialog/LastPath-PreviewHTMLFileExport (QString): /var/home/<user>/Nextcloud/Documents/doc
IssueAssistantDialog/geometry (QByteArray): <binary data>
LastUpdateCheck (QDateTime): 2026-12-01T03:48:32.105
LinkDialog/geometry (QByteArray): <binary data>
LinkDialog/notesListWidgetHeaderOrder/order (QVariantList): <variant list with 4 item(s)>
LinkDialog/notesListWidgetHeaderOrder/widths (QVariantList): <variant list with 4 item(s)>
LogWidget/criticalLog (bool): true
LogWidget/debugLog (bool): true
LogWidget/fatalLog (bool): true
LogWidget/infoLog (bool): true
LogWidget/scriptingLog (bool): true
LogWidget/statusLog (bool): true
LogWidget/warningLog (bool): true
MainWindow/geometry (QByteArray): <binary data>
MainWindow/mainToolBar.iconSize (QString): 22
MainWindow/menuBarGeometry (QByteArray): <binary data>
MainWindow/noteTextEdit.code.font (QString): FiraCode Nerd Font,18,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
MainWindow/noteTextEdit.font (QString): Noto Sans,18,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
MainWindow/noteTextView.code.font (QString): FiraCode Nerd Font,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
MainWindow/noteTextView.font (QString): Noto Sans,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
MainWindow/noteTextView.ignoreCodeFontSize (QString): true
MainWindow/noteTextView.refreshDebounceTime (QString): 600
MainWindow/noteTextView.rtl (QString): false
MainWindow/noteTextView.underline (QString): false
MainWindow/noteTextView.useEditorStyles (QString): true
MainWindow/noteTextView.useInternalExportStyling (QString): true
MainWindow/showNotesFromAllNoteSubFolders (QString): true
NoteDiffDialog/geometry (QByteArray): <binary data>
NoteFolder-1/NoteTabNameList (QString): CR_26_11_26
NoteFolder-1/NoteTabStickinessList: empty
NoteFolder-1/NoteTabSubFolderPathDataList (QString): empty
NoteFolder-1/favoriteNoteIdentifiers (QStringList): Courses/Courses.txt, Todo/À faire.md
NoteHistory-1 (QVariantList): <variant list with 88 item(s)>
NoteHistoryCurrentIndex-1 (QString): 87
PiwikClientId (QString): <hidden>
Printer/NotePrinting (QByteArray): <binary data>
SearchEngineId (QString): 0
SettingsDialog/geometry (QByteArray): <binary data>
SettingsDialog/mainSplitterState (QByteArray): <binary data>
ShareDialog/geometry (QByteArray): <binary data>
ShowSystemTray (QString): false
StartHidden (QString): false
StoredImagesDialog/geometry (QByteArray): <binary data>
TableDialog/geometry (QByteArray): <binary data>
TodoDialog/geometry (QByteArray): <binary data>
TodoDialog/mainSplitterState (QByteArray): <binary data>
TodoDialog/showCompletedItems (QString): 0
TodoDialog/showDueTodayItemsOnly (QString): 0
TodoDialog/todoItemTreeWidgetHeaderOrder/order (QStringList): 0, 1
TodoDialog/todoItemTreeWidgetHeaderOrder/widths (QStringList): 100, 270
TodoDialog/todoListSelectorSelectedItem (QString): Personal
UpdateDialog/geometry (QByteArray): <binary data>
WebSocketTokenDialog/geometry (QByteArray): <binary data>
WelcomeDialog/geometry (QByteArray): <binary data>
acceptAllExternalModifications (QString): false
ai/groq/apiKey (QString): <hidden>
ai/openai/apiKey (QString): <hidden>
ai/responseTimeout (QString): 15
allowNoteEditing (bool): true
allowOnlyOneAppInstance (QString): true
appMetrics/disableAppHeartbeat (QString): true
appMetrics/disableTracking (QString): true
appMetrics/notificationShown (QString): true
autoReadOnlyMode (QString): false
autoReadOnlyModeTimeout (QString): 30
automaticNoteFolderDatabaseClosing (QString): false
centralWidget (QString): note-edit
checkSpelling (bool): true
closeTodoListAfterSave (QString): false
cryptoKey (QString): <hidden>
currentLayout (QString): initial
currentNoteFolderId (QString): 1
cursorWidth (QString): 1
darkMode (QString): true
darkModeColors (QString): true
darkModeIconTheme (QString): true
darkModeTrayIcon (QString): true
debugInfoAnonymize (bool): true
defaultNoteFileExtension (QString): md
disableAutomaticUpdateDialog (QString): true
disableSavedSearchesAutoCompletion (QString): false
dockWasInitializedOnce (QString): true
enableNoteTree (QString): false
enableSocketServer (QString): true
enableWebAppSupport (QString): false
externalEditorPath (QString): empty
fullyHighlightedBlockquotes (QString): false
gitCommitInterval (QString): 30
gitExecutablePath (QString): empty
gitLogCommand (QString): empty
guiFirstRunInit (bool): true
hideIconsInMenus (QString): false
hideTabCloseButton (QString): false
ignoreAllExternalModifications (QString): false
ignoreAllExternalNoteFolderChanges (QString): false
ignoreNoteSubFolders (QString): ^\.
ignoredNoteFiles (QString): empty
imageScaleDown (QString): false
imageScaleDownMaximumHeight (QString): 1024
imageScaleDownMaximumWidth (QString): 1024
initialLayoutPresetIdentifier (QString): full
insertTimeFormat (QString): empty
interfaceFontSize (QString): 11
interfaceLanguage (QString): empty
interfaceScalingFactor (QString): 100
internalIconTheme (QString): false
itemHeight (QString): 24
layout-initial/centralWidget (QString): note-edit
layout-initial/name (QString): Complet
layout-initial/noteEditIsCentralWidget (QString): true
layout-initial/noteSubFolderDockWidgetVisible (QString): true
layout-initial/windowState (QByteArray): <binary data>
layouts (QString): initial
legacyLinking (QString): false
localTrash/autoCleanupDays (QString): 30
localTrash/autoCleanupEnabled (QString): true
localTrash/supportEnabled (QString): true
markdownHighlightingEnabled (QString): true
maxNoteFileSize (QString): 1048576
navigationPanelAutoSelect (QString): true
navigationPanelHideSearch (QString): false
networking/ignoreSSLErrors (QString): false
networking/proxyType (QString): 2
newNoteAskHeadline (QString): false
noteEditIsCentralWidget (bool): true
noteFileExtensionList (QStringList): md, txt
noteListPreview (QString): false
noteSaveIntervalTime (QString): 10
noteSubfoldersPanelDisplayAsFullTree (QString): true
noteSubfoldersPanelHideSearch (QString): false
noteSubfoldersPanelOrder (QString): 0
noteSubfoldersPanelShowFullPath (QString): false
noteSubfoldersPanelShowNotesRecursively (QString): false
noteSubfoldersPanelShowRootFolderName (QString): true
noteSubfoldersPanelSort (QString): 1
noteSubfoldersPanelTabsUnsetAllNotesSelection (QString): false
notesPanelOrder (QString): 1
notesPanelSort (QString): 1
notesPath (QString): /home/<user>/Nextcloud/Notes
notifyAllExternalModifications (QString): false
overrideInterfaceFontSize (QString): false
overrideInterfaceScalingFactor (QString): false
ownCloud/supportEnabled (QString): true
ownCloud/todoCalendarBackend (QString): 3
ownCloud/todoCalendarCalDAVPassword (QString): <hidden>
ownCloud/todoCalendarCalDAVServerUrl (QString): empty
ownCloud/todoCalendarCalDAVUsername (QString): empty
ownCloud/todoCalendarCloudConnectionId (QString): 1
ownCloud/todoCalendarDisplayNameList (QString): Personal
ownCloud/todoCalendarEnabledList (QString): Personal
ownCloud/todoCalendarEnabledUrlList (QString): https://ppp.woelkli.com/remote.php/dav/calendars/<cloud-connection-1-user>/personal/
ownCloud/todoCalendarUrlList (QString): https://ppp.woelkli.com/remote.php/dav/calendars/<cloud-connection-1-user>/personal/
ownCloudInfo/appIsValid (QString): false
ownCloudInfo/connectionErrorMessage (QString): Error transferring https://ppp.woelkli.com/index.php/apps/qownnotesapi/api/v1/note/app_info?format=json¬es_path=/ - server replied:
ownCloudInfo/notesPathExistsText (QString): unknown
ownCloudInfo/serverVersion (QString): empty
restoreCursorPosition (QString): true
restoreLastNoteAtStartup (QString): true
restoreNoteTabs (QString): true
savedSearches/noteFolder-1 (QStringList): <anonymized string list with 46 item(s)>
showMatches (QString): true
showMenuBar (bool): true
showStatusBar (bool): true
showStatusBarNotePath (QString): true
showStatusBarRelativeNotePath (QString): false
spellCheckLanguage (QString): auto
startInReadOnlyMode (QString): false
systemIconTheme (QString): false
tagWasAddedToNote (QString): true
taggingShowNotesRecursively (QString): false
tagsPanelHideNoteCount (QString): false
tagsPanelHideSearch (QString): false
tagsPanelOrder (QString): 0
tagsPanelSort (QString): 0
todoCalendarSupport (QString): true
useNoteFolderButtons (QString): false
useUNIXNewline (QString): false
webAppClientService/connectionName (QString): qownnotes-<hostname_was_not_anonymized_either_and_that's_uncool_too>.home
webAppClientService/serverUrl (QString): wss://app.qownnotes.org
webAppClientService/token (QString): <hidden>
webSocketServerService/bookmarksNoteName (QString): Bookmarks
webSocketServerService/bookmarksTag (QString): bookmarks
webSocketServerService/commandSnippetsNoteName (QString): Commands
webSocketServerService/commandSnippetsTag (QString): commands
webSocketServerService/port (QString): 22222
webSocketServerService/token (QString): <hidden>
System environment
ALSA_CONFIG_DIR: /usr/share/alsa
ALSA_CONFIG_PATH: /usr/share/alsa/alsa-flatpak.conf
AT_SPI_BUS_ADDRESS: unix:path=/run/flatpak/at-spi-bus
DBUS_SESSION_BUS_ADDRESS: unix:path=/run/flatpak/bus
DBX_SKIP_WORKDIR: 1
DEBUGINFOD_IMA_CERT_PATH: /etc/keys/ima:
DEBUGINFOD_URLS: ima:enforcing https://debuginfod.fedoraproject.org/ ima:ignore
DESKTOP_SESSION: /usr/share/wayland-sessions/plasma.desktop
EDITOR: /usr/bin/nano
FLATPAK_ID: org.qownnotes.QOwnNotes
FLATPAK_SANDBOX_DIR: /home/<user>/.var/app/org.qownnotes.QOwnNotes/sandbox
GDK_CORE_DEVICE_EVENTS: 1
GI_TYPELIB_PATH: /app/lib/girepository-1.0
GST_PLUGIN_SYSTEM_PATH: /app/lib/gstreamer-1.0:/usr/lib/extensions/gstreamer-1.0:/usr/lib/x86_64-linux-gnu/codecs-extra/lib/gstreamer-1.0:/usr/lib/x86_64-linux-gnu/gstreamer-1.0
GTK2_RC_FILES: /home/<user>/.gtkrc-2.0-kde4
GUESTFISH_INIT: \e[1;34m
GUESTFISH_OUTPUT: \e[0m
GUESTFISH_PS1: \[\e[1;32m\]><fs>\[\e[0;31m\]
GUESTFISH_RESTORE: \e[0m
HISTCONTROL: ignoredups
HISTSIZE: 1000
HOME: /home/<user>
HOMEBREW_CELLAR: /home/linuxbrew/.linuxbrew/Cellar
HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew
HOMEBREW_REPOSITORY: /home/linuxbrew/.linuxbrew/Homebrew
HOSTNAME: <anonymized>
ICEAUTHORITY: /run/user/1000/iceauth_YStBdz
INFOPATH: /home/linuxbrew/.linuxbrew/share/info:/home/linuxbrew/.linuxbrew/share/info:
INVOCATION_ID: 2e24e99261ef44a5a9f61e98cfb658f5
JOURNAL_STREAM: 12:32154
KDEDIRS: /usr
KDE_APPLICATIONS_AS_SCOPE: 1
KDE_FORK_SLAVES: 1
KDE_FULL_SESSION: true
KDE_SESSION_UID: 1000
KDE_SESSION_VERSION: 6
LANG: fr_FR.UTF-8
LANGUAGE: empty
LD_LIBRARY_PATH: empty
LESSOPEN: ||/usr/bin/lesspipe.sh %s
LOGNAME: <anonymized>
LS_COLORS: empty
MAIL: /var/spool/mail/<user_was_not_anonymized,_that's_uncool>
MANAGERPID: 4503
MANAGERPIDFDID: 45483
MEMORY_PRESSURE_WATCH: /sys/fs/cgroup/user.slice/user-1000.slice/[email protected]/session.slice/plasma-plasmashell.service/memory.pressure
MEMORY_PRESSURE_WRITE: c29tZSAyMDAwMDAgMjAwMDAwMAA=
MOZ_GMP_PATH: /usr/lib64/mozilla/plugins/gmp-gmpopenh264/system-installed
PAM_KWALLET5_LOGIN: /run/user/1000/kwallet5.socket
PATH: /app/bin:/usr/bin
PS1: [📦 $FLATPAK_ID \W]\$
PWD: /home/<user>
PYTHONUSERBASE: /var/data/python
QML2_IMPORT_PATH: /app/lib/qml
QT_PLUGIN_PATH: /app/lib/plugins:/usr/share/runtime/lib/plugins
QT_WAYLAND_RECONNECT: 1
SESSION_MANAGER: local/unix:@/tmp/.ICE-unix/4724,unix/unix:/tmp/.ICE-unix/4724
SHELL: /bin/sh
SSH_ASKPASS: /usr/bin/ksshaskpass
SSH_AUTH_SOCK: <hidden>
SYSTEMD_EXEC_PID: 4761
USER: <anonymized>
WAYLAND_DISPLAY: wayland-1
XAUTHORITY: /run/user/1000/xauth_vaRwUC
XDG_CACHE_HOME: /home/<user>/.var/app/org.qownnotes.QOwnNotes/cache
XDG_CONFIG_DIRS: /app/etc/xdg:/etc/xdg
XDG_CONFIG_HOME: /home/<user>/.var/app/org.qownnotes.QOwnNotes/config
XDG_CURRENT_DESKTOP: KDE
XDG_DATA_DIRS: /app/share:/usr/share:/usr/share/runtime/share:/run/host/user-share:/run/host/share
XDG_DATA_HOME: /home/<user>/.var/app/org.qownnotes.QOwnNotes/data
XDG_MENU_PREFIX: plasma-
XDG_RUNTIME_DIR: /run/user/1000
XDG_SEAT: seat0
XDG_SEAT_PATH: /org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS: user
XDG_SESSION_DESKTOP: KDE
XDG_SESSION_ID: 2
XDG_SESSION_PATH: /org/freedesktop/DisplayManager/Session2
XDG_SESSION_TYPE: wayland
XDG_STATE_HOME: /home/<user>/.var/app/org.qownnotes.QOwnNotes/.local/state
XDG_VTNR: 2
XKB_DEFAULT_LAYOUT: fr,us
XKB_DEFAULT_MODEL: pc105
XKB_DEFAULT_VARIANT: oss,alt-intl
_JAVA_AWT_WM_NONREPARENTING: 1
__EGL_EXTERNAL_PLATFORM_CONFIG_DIRS: /etc/egl/egl_external_platform.d:/usr/lib/x86_64-linux-gnu/GL/egl/egl_external_platform.d:/usr/share/egl/egl_external_platform.d
container: flatpak
- 主要语言
- C++
- 星标
- 5.9k
- 派生
- 499
- 平均合并
- 4 小时 4 分钟
- 30 天内合并 PR
- 3
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
pbek/QOwnNotes 的其他 Issue
-
Type: Support
难度 5/5 一周以上 新手友好度 42/100
-
Effort: Very high Type: Feature Type: Upstream-problem
难度 4/5 3-5 天 新手友好度 48/100
-
Type: Feature
难度 4/5 3-5 天 新手友好度 48/100
-
Severity: Low Type: Upstream-problem
难度 4/5 3-5 天 新手友好度 42/100
-
Effort: High Importance: Low Info: Might introduce regressions Type: Feature
难度 3/5 1-2 天 新手友好度 45/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
needs-kind
难度 2/5 1-3 小时 新手友好度 63/100
villagesql/villagesql-server#1702 · 1 条评论 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
microsoft/vcpkg-tool#2191 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
harfbuzz/harfbuzz#6966 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 2 天内回复