dsh-chat-link-actions 0.2.7 → 0.2.8

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.
Files changed (2) hide show
  1. package/client.js +1 -0
  2. package/package.json +1 -1
package/client.js CHANGED
@@ -179,6 +179,7 @@ window.__ModuleLoader__.load({
179
179
  candidate = candidate.slice(1, -1);
180
180
  }
181
181
  candidate = candidate.replace(/[.,;:!?,。;:!?]+$/u, "");
182
+ candidate = stripLineSuffix(candidate);
182
183
  if (/^file:\/\//i.test(candidate)) {
183
184
  candidate = candidate.replace(/^file:\/\/(?:localhost)?/i, "");
184
185
  candidate = decodePercent(candidate);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-chat-link-actions",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "Right-click actions on file links in the DSH transcript: quote the path into the composer, or reveal the file in the OS file manager. Menus are drawn in the app's own style, never the system one.",
5
5
  "type": "module",
6
6
  "main": "index.js",