Closed bung87 closed 4 years ago
Please dont touch dataUriHtmlHeader
dont break the API, also base64 is different from plain-text,
make another dataUriBase64Header*
template, other OS should not break for this,
use when defined(osx):
as needed,
"data:text/html;charset=utf-8,<h1>Hello"
on URL just works for Linux without Base64 overhead,
the rest is Ok, but please make that change so I can merge.
:slightly_smiling_face:
Can I make dataUriHtmlHeader also as proc, I cant figure out a way using &
and proc
,
and when reading html file, content contains line breaks, I don't think that's fine with data:
Yes, make it a template
use when defined(osx):
as needed.
The point is other OS should be able to use plain-text because it works there.
Thanks very much!.