-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
Closed
Labels
bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.help wanted
Description
- 我已经检查过discussions
- 我已经搜索过issues
- 我已经仔细检查过FAQ
描述bug

我没办法把下面的这些空行删掉,如果复制配置到文本,中间带有大量空行(key、value、comment均为空),在配置中删除空行后,配置尾部依然会有大量空行(key、value、comment均为空的配置),这个就没法删除了。
复现
通过如下步骤可以复现:
- 拷贝中间存在大量空格的配置到"文本"中
期望

看了下代码(com.ctrip.framework.apollo.portal.component.txtresolver.PropertyResolver#deleteCommentAndBlankItem),是否还有第三种情况:oldItem为空,newItem不存在,这种也应该删除?
截图
如果可以,附上截图来描述你的问题
额外的细节和日志
- 版本:
- 错误日志
- 配置:
- 平台和操作系统
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.help wanted
