Fixed BB & Markdown Converter
This commit is contained in:
@@ -61,10 +61,9 @@ func (b *Blog) HTMX(blogApp *BlogApp, ctx context.Context) string {
|
||||
}
|
||||
|
||||
func (b *BlogApp) ConvertBlog(blog *Blog) {
|
||||
//TODO: fix bbConvert
|
||||
// if !blog.StaticPage {
|
||||
// blog.HTMLBlog = b.conv.HTMLConvert(blog.RawBlog)
|
||||
// }
|
||||
if !blog.StaticPage {
|
||||
blog.HTMLBlog = b.conv.HTMLConvert(blog.RawBlog)
|
||||
}
|
||||
}
|
||||
|
||||
func (b *BlogApp) GetAuthor(ctx context.Context, blog *Blog) (*Author, error) {
|
||||
|
||||
Reference in New Issue
Block a user