Skip to content

Commit 1a8c342

Browse files
committed
re exporting slugify
1 parent 342adca commit 1a8c342

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/utils/readme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ function stripHtmlTags(text: string): string {
198198
* - Remove special characters (keep alphanumeric, hyphens, underscores)
199199
* - Collapse multiple hyphens
200200
*/
201-
function slugify(text: string): string {
201+
export function slugify(text: string): string {
202202
return stripHtmlTags(text)
203203
.toLowerCase()
204204
.trim()

0 commit comments

Comments
 (0)