豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

parse attr fails when attribute contains newline #33

@HaroldPutman

Description

@HaroldPutman
<element id="7" data="foo
bar" bug="true"/>

The data attribute does not show up. I assume this will be fixed with parsing change mentioned in #30. The real life use case is an SVG file with embedded bitmap image that has an attribute like:

<image
  xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAExCA
...
Nhfphem9d9wxe/e73/XQdddd/4Vbb71Vn1neDN+LGvh/NgDkIaZnFBUAAAAASUVORK5CYII=
"/>

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions