Commit 925ee93
authored
fix: make "Copy for LLMs" button work with query parameters in the URL (#2036)
Parses the current location as a URL before appending the `.md` suffix
to route to the correct `md` URL.
E.g. Hubspot adds those tracking query parameters, old code would add
the `.md` suffix to the end of the query params.
<img width="1286" height="229" alt="image"
src="https://github.com/user-attachments/assets/95ed685a-09e2-4924-a0c8-62578cdef866"
/>1 parent b596b88 commit 925ee93
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
59 | 63 | | |
60 | 64 | | |
61 | 65 | | |
| |||
0 commit comments