text
text copied to clipboard
Punctuation-preceded backticks don't visually format when typed
Describe the bug
Backticks aren't turned into code formatting when preceded by a punctuation character. For example typing this:
(`foobar`
does not result in code formatting being applied.
To Reproduce Steps to reproduce the behavior:
- Open a Text document and start editing it.
- Type
(
and then backtick. - Type anything (say
foobar
) then backtick. - Notice how nothing happens, and you still see literal backticks in your document. (The same is true if you click "Done" and then go back to editing.)
Expected behavior
foobar
is formatted as code.
Screenshots
Server details:
- Nextcloud version: 28.0.2
- PHP Version: 8.1.27
- Database: 5.7.44-48-log (I know it's unsupported but it's out of my control this seems unrelated)
Client details:
- OS: Linux
- Browser: Firefox
- Browser version: 122
- Device: desktop
Nextcloud log (data/nextcloud.log)
N/A
Browser log
Nothing at all in the JS console.