-
-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Manifests as
<!DOCTYPE html><html><head><meta charset=\"utf-8\">[...]</html>
and similarly with src=\"
, rel=\"
, class=\"
... on script
, link
, div
(etc) tags.
I've pinpointed the reason to
attributes_func += #"if let \#(key) { items.append("\#(key_literal)=\\\"" + \#(value) + "\\\"") }"# |
and elsewhere triple-backslash was used in the expansion, but this is causing extra backslashes to be added to Data and ByteBuffer outputs (easily seen on full macro expansions, decimal 92
in the byte sequence). I understand this was added to correctly escape String outputs, where the compiler will take care of the unescaping, but perhaps this is better served by #""#
or some other type of special handling for Data and ByteBuffer.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working