diff options
Diffstat (limited to 'readme_to_html.go')
-rw-r--r-- | readme_to_html.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/readme_to_html.go b/readme_to_html.go index e0212e9..c5cc706 100644 --- a/readme_to_html.go +++ b/readme_to_html.go @@ -35,7 +35,7 @@ func renderReadmeAtTree(tree *object.Tree) (string, template.HTML) { if err != nil { return "Error fetching README", escapeHTML("Unable to fetch contents of " + name + ": " + err.Error()) } - return renderReadme([]byte(contents), name) + return renderReadme(stringToBytes(contents), name) } return "", "" } |