From: rking Date: 2007-06-24T04:40:06+09:00 Subject: Re: IRC Transcripts in Instiki and Markdown On Jun 23, 10:15 am, levander wrote: > Is the only way to get the usernames not to disappear is in HTML is to replace the <, >'s with <, >'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
 text and HTML
escaping. From ruby do irc_log.gsub(/^/,"\t")

Does either solution work for you?