We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e41e1b6 commit 778cac1Copy full SHA for 778cac1
1 file changed
src/profile-logic/sanitize.ts
@@ -126,6 +126,14 @@ export function sanitizePII(
126
stringArray,
127
};
128
129
+ // FIXME: Currently we always sanitize the source contents while publishing.
130
+ // But we should have a sharing option in the publish panel to be able to
131
+ // include sources.
132
+ newShared.sources = {
133
+ ...newShared.sources,
134
+ content: Array(newShared.sources.content.length).fill(null),
135
+ };
136
+
137
let stackFlags: Uint8Array | null = null;
138
139
if (windowIdFromPrivateBrowsing.size > 0) {
0 commit comments