Repository navigation
Commit f8b02cd
committed
fix: broaden dead-link stripping to cover plain-text links
The regex previously only matched <a> tags wrapping <code> content.
Links from JSDoc {@link} references render as plain text and were
missed — 26 broken links remained on openui5/1.149 after regeneration.
Changes:
- Widen the regex from (<code>[^<]+</code>) to ([\s\S]*?) so it
catches any link content (plain text, code, or mixed).
- Add pattern for namespaces/sap/README.html — the non-existent
global sap namespace index page that some pages link to.
All sap.ui.* global functions documented there are either deprecated
or irrelevant for TypeScript users (sap.ui.define/require), so
stripping these links is correct.1 parent a81d8e8 commit f8b02cd
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
593 | 593 | | |
594 | 594 | | |
595 | 595 | | |
596 | | - | |
| 596 | + | |
597 | 597 | | |
598 | 598 | | |
599 | 599 | | |
| 600 | + | |
| 601 | + | |
600 | 602 | | |
601 | 603 | | |
602 | 604 | | |
| |||
0 commit comments