This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# original code | |
# we have an array of strings | |
# | |
# we want to build a HTML list, where each string is wrapped in a <li> tag | |
# <li>s are separated by <hr>s | |
# | |
# conventional way: build the result string piece by piece: | |
# | |
# starting with the opening <ul> tag |