Commit 6b53750
Eric Wheeler
feat: add URL tooltips and improve link safety
Add tooltips showing full URL when hovering over links.
Add safety checks to only process local file paths:
- file:// protocol URLs
- absolute paths starting with /
- relative paths without protocol
Move preventDefault() after path validation to allow
external links to work normally.
Signed-off-by: Eric Wheeler <[email protected]>1 parent bd7cecd commit 6b53750
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
149 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
150 | 159 | | |
| 160 | + | |
151 | 161 | | |
152 | 162 | | |
153 | 163 | | |
| |||
0 commit comments