Talk:Rosetta Code/Fix code tags

From Rosetta Code

I replaced GeshiCodeTag's behavior with respect to unsupported languages so that it just falls back uses an HTML <code> block. These will be distinguishable from GeSHi-targeted <code> blocks because they won't have a language parameter associated with them. Be mindful of that. --Short Circuit 08:01, 30 January 2009 (UTC)

I already solved this bug. It's a very poor solution, it finds "<code>" and "</code>" indexes, replace them to "c0de", so re.sub() will ignore it. At script end "c0de" will be replaced to "code" again. Now the script can be 100% automatated, using Wikimedia API. (I think.) --Guga360 16:28, 30 January 2009 (UTC)

Please no "code" to "tt" change!

I dislike the new change of "fixing" <code>...</code> to <tt>...</tt>. The disabling of code tags is temporary, and using code tags (logigal markup) instead of tt tags (physical markup) is the Right Thing. I intentionally did not change code tags meant as inline code tags when changing code->lang (I did change inline code tags back when it seemed that the new meaning of code would prevail). --

Sorry it was me; I realized your point and stopped me by myself before reading this, nonetheless I've already done little damages and will go fixing them as soon as I can. --ShinTakezou 15:46, 2 February 2009 (UTC)