Text to HTML: Difference between revisions

→‎{{header|Go}}: Fixed bug whereby closing tag was missing if list was last structure in document.
(Added Go)
(→‎{{header|Go}}: Fixed bug whereby closing tag was missing if list was last structure in document.)
Line 97:
fmt.Printf("<p>%s</p>\n", para2)
}
}
if blist {
fmt.Println("</ul>")
}
if nlist {
fmt.Println("</ol>")
}
fmt.Println("</body>")
9,485

edits