Rosetta Code:Village Pump/Lang-tag bot: Difference between revisions

Content added Content deleted
(nowiki tags)
(→‎Handle nowiki tags: Yeah, that was an oversight.)
Line 38: Line 38:
== Handle nowiki tags ==
== Handle nowiki tags ==
A bit late now that Underbot's finished, but a potential future enhancement might be to remove <nowiki><nowiki></nowiki> tags from inside blocks of code when Underbot adds missing <nowiki><lang></nowiki> tags.--[[User:Tikkanz|Tikkanz]] 21:35, 22 November 2009 (UTC)
A bit late now that Underbot's finished, but a potential future enhancement might be to remove <nowiki><nowiki></nowiki> tags from inside blocks of code when Underbot adds missing <nowiki><lang></nowiki> tags.--[[User:Tikkanz|Tikkanz]] 21:35, 22 November 2009 (UTC)
:It does remove &lt;nowiki&gt;s when they're surrounding an entire block of code (see line 287 of the source), but not in any other case. I'd (wrongly) supposed nobody would enclose only part of their code in &lt;nowiki&gt;s, since it would be easier to just &lt;nowiki&gt; the whole thing. Oh, well. —[[User:Underscore|Underscore]] ([[User talk:Underscore|Talk]]) 23:31, 22 November 2009 (UTC)