daisy / daisy/pipeline-modules

Newlines in data URI within HTML and SVG attributes should be allowed

Open
#122 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
HTML
Stars
4
Forks
6
PR merge metrics
No merged PRs in 30d

Description

See https://en.wikipedia.org/wiki/Data_URI_scheme#HTML.

According to this Wikipedia page, white space characters in XML attributes are ignored. This must be inaccurate, as ignoring any white space character in any attribute can't possibly be correct. It is also hard to believe that Saxon, which converts newlines in attributes to spaces, would be wrong on such a basic feature of XML. There must be another explanation for these things to be valid in HTML. Or perhaps it is not valid, but then Pipeline should still support it, as it is a common practice to break up long data URIs into lines.

@nicolegaines

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.