Switch to edit mode.
Name(s): decomment1: "Strip out all comments" 2: "Functions exactly like a browser:" 3: "'1<!--2-->3' -> '13'" 4: "'1<!--2<!--3-->4-->5' -> '14-->5'" 5: {html} = args 6: while (start = index(html, "<!--")) 7: pos = start + 4 8: close = pos + index(html[pos..$] + "-->", "-->") + 1 9: html[start..close] = "" 10: endwhile 11: return html 12: "Last modified by Dax (#789) on Sat May 20 09:09:36 2000 MDT."