Skip to content

Improve HTML code block parsing #11131

Closed
Closed
@jim555666888

Description

@jim555666888

粘贴代码格式错乱

比如从chatgpt粘贴,复制原文:
image

粘贴在其他笔记,能正确识别格式:
image

而粘贴在思源,格式乱了:
image

Expected result

我记得之前老的版本是可以的,可能是3.0.3版本吧?后来新的版本就不行了,换了不同的主题也不行

Screenshot or screen recording presentation

No response

Version environment

- Version: 3.0.11
- Operating System: macos
- Browser (if used):

Activity

self-assigned this
on Apr 25, 2024
changed the title [-]粘贴代码格式错乱[/-] [+]Improve HTML code block parsing[/+] on Apr 25, 2024
added this to the 3.0.12 milestone on Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250@jim555666888

      Issue actions

        Improve HTML code block parsing · Issue #11131 · siyuan-note/siyuan