fix: remove markdown hack
Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
parent
2f7ded9122
commit
d7abc4efa3
|
@ -504,11 +504,6 @@ WHERE p.id = ?1`
|
|||
|
||||
var rawHTML *template.HTML
|
||||
|
||||
// XXX(Xe): HACK around https://github.com/go-enry/go-enry/pull/154
|
||||
if filepath.Ext(fname) == ".markdown" {
|
||||
lang = "Markdown"
|
||||
}
|
||||
|
||||
var cssClass string
|
||||
if lang != "" {
|
||||
cssClass = fmt.Sprintf("lang-%s", strings.ToLower(lang))
|
||||
|
|
Loading…
Reference in a new issue