Introduce a footer-triggered Version History drawer with categorized release notes, hardcoded release data, and semver tracking at v0.3.0. Also ships blog blockquote/table styling, site-wide typography, home page image updates, header refinements, and related bug fixes. Co-authored-by: Cursor <cursoragent@cursor.com>
5 lines
234 B
TypeScript
5 lines
234 B
TypeScript
/** حذف برچسبهای ویرایشی (#1, #2, ...) از ابتدای متن HTML نقلقول. */
|
|
export function sanitizeBlockquoteContent(html: string): string {
|
|
return html.replace(/(^|>)\s*#\d+\s*/g, "$1").trim();
|
|
}
|