On Jun 23, 10:15 am, levander <levander... / gmail.com> wrote:
> Is the only way to get the usernames not to disappear is in HTML is to replace the <, >'s with &lt;, &gt;'s?

You definitely need to escape them one way or another.

If you want to do it all in ruby, this will do it:
require 'cgi'
CGI::escapeHTML(irc_log)

> Can I get Markdown do that for me?

According to http://daringfireball.net/projects/markdown/syntax#precode
you can start each line with a tab to get both <pre> text and HTML
escaping. From ruby do irc_log.gsub(/^/,"\t")

Does either solution work for you?