fix: last diffs in transformation

This commit is contained in:
2026-02-15 20:03:18 +01:00
parent c515f7c227
commit e8a768544d
4 changed files with 8 additions and 5 deletions

View File

@@ -805,8 +805,8 @@ describe('ImportAnalysisEngine', () => {
const report = await engine.analyzeWxr(wxrData, '/test.xml');
// Should use title as alt text and include title in markdown
expect(report.posts.items[0].markdownPreview).toContain('![My Title](http://example.com/full.jpg "My Title")');
// Should use title as alt text (but not include title in markdown - cleaner output)
expect(report.posts.items[0].markdownPreview).toContain('![My Title](http://example.com/full.jpg)');
});
it('should extract filename as alt text when both alt and title are empty', async () => {