fix(baoyu-post-to-wechat): fix title and list number duplication in WeChat articles

- Remove title from body content when extracting it for WeChat title field
  to prevent duplicate title display (one in header, one in content)
- Remove manual ordered list prefix since HTML <ol> already provides numbering,
  preventing "1.1.", "2.2.", "3.3." duplication

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
AlexCheval
2026-02-05 10:04:34 +08:00
parent cc95e6fe05
commit a3849af0cf
2 changed files with 10 additions and 4 deletions
@@ -374,7 +374,7 @@ export function initRenderer(opts: IOpts = {}): RendererAPI {
listCounters[listCounters.length - 1] = idx + 1;
const prefix = ordered ? `${idx}. ` : "• ";
const prefix = ordered ? "" : "• ";
let content: string;
try {