limina1
|
66ece8ca1e
|
Fix ZettelPublisher metadata extraction and pubkey handling
- Replace complex Asciidoctor attribute parsing with simple regex approach
- Parse :tagname: tagvalue directly from content using /^:([^:]+):\s*(.+)$/
- Handle :tags: comma,separated -> multiple ["t", "tag"] entries
- Fix pubkey placeholders in a-tags during publishing in publishSingleEvent
- Eliminate metadata corruption (no more "== Preface" authors or "Version" versions)
- Add iterative parsing functions: parseAsciiDocIterative, generateNostrEvents
- Preserve document attributes in content for proper tag extraction
- Add simple parseSimpleAttributes function for clean metadata conversion
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
7 months ago |