Skip to content

RemoveHtml方法错误 #1

@xingshanghe

Description

@xingshanghe

和转义重复了。utils.go中func RemoveHtml(src string) string re, _ := regexp.Compile(\<[\S\s]+?\>`) 应该为: re, _ := regexp.Compile("\<[\S\s]+?\>")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions