Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moving basic htmlization of post content into the model.
two immediate benefits: 1. we can test Post output in a unit test 2. we can easily support new storage formats (like markdown and raw html) without writing new view logic
- Loading branch information
1 parent
72338a2
commit 5e3487f
Showing
2 changed files
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters