@diagrammo/dgmo 0.2.25 → 0.2.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.cjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/sharing.ts +3 -1
package/package.json
CHANGED
package/src/sharing.ts
CHANGED
|
@@ -47,7 +47,9 @@ export function encodeDiagramUrl(
|
|
|
47
47
|
hash += `&tag=${encodeURIComponent(options.viewState.activeTagGroup)}`;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
// Encode in both query param AND hash fragment — some share mechanisms
|
|
51
|
+
// strip one or the other (iOS share sheet strips #, AirDrop strips ?)
|
|
52
|
+
return { url: `${baseUrl}?${hash}#${hash}` };
|
|
51
53
|
}
|
|
52
54
|
|
|
53
55
|
/**
|