mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 08:46:22 +02:00
5 lines
197 B
TypeScript
5 lines
197 B
TypeScript
|
|
export function convertRenderedToDisplay(contentRendered: string): string {
|
||
|
|
// Convert @{DisplayName} format to @DisplayName for editing
|
||
|
|
return contentRendered.replace(/@\{([^}]+)\}/g, "@$1");
|
||
|
|
}
|