Commit eec674c
committed
Fix tag validation: only remove actual valid tags, preserve inline code
- Replace broad regex pattern with precise isValidTag() validation
- Preserve legitimate inline code like [1], [gin], net/http
- Remove unused regexp import
- Ensure only approved tags ([lib], [app], [active], [stalled], [unmaintained]) are removed1 parent 4adc3f9 commit eec674c
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
288 | 287 | | |
289 | 288 | | |
290 | 289 | | |
291 | | - | |
| 290 | + | |
292 | 291 | | |
293 | | - | |
294 | 292 | | |
295 | 293 | | |
296 | | - | |
| 294 | + | |
297 | 295 | | |
298 | 296 | | |
299 | 297 | | |
| |||
0 commit comments