Centralize clearnet/onion paths, delete links, and BBCode/Markdown/HTML output with unit tests and escape-html for safe HTML snippets.
2 lines
88 B
TypeScript
2 lines
88 B
TypeScript
export const buildBbcodeImage = (imageUrl: string): string => `[img]${imageUrl}[/img]`;
|