Skip to content

关于 <br> 、<img> 等标签,如何处理比较好 #18

Closed
@xiaohuoni

Description

@xiaohuoni

比如

<p>
这是一张图片<br><img src="https://avatars3.githubusercontent.com/u/11746742?s=40&v=4"></p>

效果如下:

这是一张图片

<br><img> 都是没有关闭的,比如我旧的文档想切换到 `father-doc` 会涉及到较多的修改。

不知道,你们想怎么处理这个问题,是强制用户修改为 <br /><img />,还是兼容不报错?
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions