Skip to content

The heading block convert doc block to preserve symbols as much as possible #11126

Closed
@LoneFireBlossom

Description

@LoneFireBlossom

标题块转换为文档块后,标题块里的某些英文符号得不到保留

Is there an existing issue for this?

  • I have searched the existing issues

Can the issue be reproduced with the default theme (daylight/midnight)?

  • I was able to reproduce the issue with the default theme

Could the issue be due to extensions?

  • I've ruled out the possibility that the extension is causing the problem.

Describe the problem

如视频所示,可以看到很多英文符号在转换成文档块后得不到保留,只测试了一部分符号,没有全部测试

CleanShot.2024-04-24.at.20.35.31.mp4

Expected result

搜了一下没看到相应issue,是bug还是故意这么设置?
如果就是这么设置的话应该在帮助文档里写清楚吧,我看帮助文档里没写

Screenshot or screen recording presentation

No response

Version environment

- Version: 3.0.11
- Operating System: macOS 13.6.6
- Browser (if used):

Log file

.

More information

No response

Activity

changed the title [-]标题块转换为文档块后,标题块里的符号[/-] [+]标题块转换为文档块后,标题块里的英文符号得不到保留[/+] on Apr 24, 2024
changed the title [-]标题块转换为文档块后,标题块里的英文符号得不到保留[/-] [+]标题块转换为文档块后,标题块里的某些英文符号得不到保留[/+] on Apr 24, 2024
TCOTC

TCOTC commented on Apr 24, 2024

@TCOTC
Contributor

这个应该是 BUG

self-assigned this
on Apr 24, 2024
88250

88250 commented on Apr 24, 2024

@88250
Member

这是早期(还是用文档名作为文件名的时期)实现的时候为了避免不合法的文件名而故意剔除了这些符号,现在已经可以支持(除了不能支持 /),稍后进行改进,感谢反馈。

added this to the 3.0.12 milestone on Apr 24, 2024
changed the title [-]标题块转换为文档块后,标题块里的某些英文符号得不到保留[/-] [+]The heading block convert doc block to preserve symbols as much as possible[/+] on Apr 24, 2024
LoneFireBlossom

LoneFireBlossom commented on Apr 24, 2024

@LoneFireBlossom
Author

这是早期(还是用文档名作为文件名的时期)实现的时候为了避免不合法的文件名而故意剔除了这些符号,现在已经可以支持(除了不能支持 /),稍后进行改进,感谢反馈。

为何不支持/呢,哦文档标题不支持/

TCOTC

TCOTC commented on Apr 24, 2024

@TCOTC
Contributor

@88250 有曲线救国的方法实现支持斜杠作为标题吗?

88250

88250 commented on Apr 24, 2024

@88250
Member

没有办法支持,实在要用的话估计只能用类似 / 的字符了,比如全角斜杆

Temacc0531

Temacc0531 commented on Apr 25, 2024

@Temacc0531

这个是不是需要在哪里告知一下用户,转换前提醒,或者帮助文档里面写一下,不然以为是bug了😂

88250

88250 commented on Apr 25, 2024

@88250
Member
Temacc0531

Temacc0531 commented on Apr 25, 2024

@Temacc0531

@Temacc0531

没事了,转换的时候右上角有弹窗提示,妥

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@LoneFireBlossom@TCOTC@Temacc0531

      Issue actions

        The heading block convert doc block to preserve symbols as much as possible · Issue #11126 · siyuan-note/siyuan