[#14131] - Line Feed 
 in Base64 Image Source

Category:
Bug report
Priority:
Normal
Status:
New
Project: Severity:
Minor
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:

Found in 6.19.1: The source of a base64 coded image contains 
 instead of a real line feed.

<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoAAAACVCAMAAAD/l7sQAAAE92lUWHRYTUw6Y29tLmFkb2JlLnht&#xA;cAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQi&#xA;Pz4…

In 6.3.1:
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoAAAACVCAMAAAD/l7sQAAAE92lUWHRYTUw6Y29tLmFkb2JlLnht
cAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQi
Pz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1Q
IENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8

I don’t know if this is compliant with the HTML standard, but I would suggest to either just remove &#xA; or to replace with a line feed (ASCII 10).

Best regards,
Boris

HTML Exporter
office_58's picture
Joined: Sep 25 2019 - 4:18am
Last seen: 1 month 1 week ago
Feedback
randomness