package maymoon
import (
"io"
)
func renderHTML(writer io.Writer, reader io.Reader) error {
{
_, err := io.WriteString(
writer,
`` +"\n"+
`
` +"\n"+
`` +"\n"+
`` +"\n"+
`` +"\n"+
`` +"\n",
)
if nil != err {
return err
}
}
{
_, err := io.Copy(writer, reader)
if nil != err {
return err
}
}
{
_, err := io.WriteString(
writer,
`` +"\n"+
`` +"\n"+
`` +"\n",
)
if nil != err {
return err
}
}
return nil
}