Plane.so Discord integration
## Problem `comment_stripped` loses line breaks from HTML content, causing multiline comments to appear as a single line in Discord. ## Solution Added `htmlToDiscordText()` helper that converts `comment_html` to Discord-friendly text: - `</p><p>` → double newline - `<br>` → newline - `<li>` → bullet points - Strips remaining HTML tags - Decodes HTML entities (`&`, ` `, etc.) Falls back to `comment_stripped` if HTML is unavailable. Reviewed-on: #1 Co-authored-by: Claw <claw@perny.dev> Co-committed-by: Claw <claw@perny.dev> |
||
|---|---|---|
| src | ||
| .dockerignore | ||
| .env.example | ||
| .gitignore | ||
| bun.lock | ||
| Dockerfile | ||
| index.ts | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
flight-attendant
Plane.so Discord integration