Add share URL builders and embed format helpers for uploaded images.
Centralize clearnet/onion paths, delete links, and BBCode/Markdown/HTML output with unit tests and escape-html for safe HTML snippets.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
export const buildBbcodeImage = (imageUrl: string): string => `[img]${imageUrl}[/img]`;
|
||||
Reference in New Issue
Block a user