tillprochaska / honeypot

MIT License
1 stars 0 forks source link

Refactor `DiaryEntry::main_part`, `DiaryEntry::introduction` #39

Open tillprochaska opened 5 years ago

tillprochaska commented 5 years ago

Currently these methods merge the contents of multiple text components and render them to HTML markup at the same time. We should separate the merge logic from the rendering step, as there are use cases where we need the raw data (e. g. for data retrieval via the API).