- Replace stripHtml() with renderContent() that: 1. Extracts <a href="...">...</a> anchors before stripping HTML 2. Strips remaining HTML tags cleanly 3. Detects bare https?:// URLs in plain text 4. Renders each as a tappable <a>[link]</a> with text-primary underline - Collapsed note preview still shows plain text (no link clutter) - Expanded note/time-entry body shows inline [link] elements |
||
|---|---|---|
| .. | ||
| dashboard | ||
| finance | ||
| tickets | ||
| layout.tsx | ||
| page.tsx | ||