Re: CamelCase on euforum
- Posted by jimcbrown (admin) May 29, 2016
- 1436 views
jimcbrown said...
ne1uno said...
can we remove the file protocol from creole.opts?
tickets also, like so [[TICKET:541]], TICKET:541 Ticket #541: remove 'file' protocol from creole opts this is marked fixed, but either file got put back into creole,ops or the forum is using an old version. not sure why file: causes a link and wiki: doesn't. probably should only have to say WIKI:link but that is apparently broken or disabled
- file: wiki:
Not sure what happened, that was back when Jeremy was managing things. I just applied the fix manually to the site.
Ok, that wasn't enough. I just applied an extra fix on top of that (on both sites) to get rid of it. Uncommitted, unfortunately. But here's the diff.
diff -r 835780e1a37e creole.e --- a/creole.e Wed Feb 20 11:38:27 2013 -0500 +++ b/creole.e Sun May 29 11:08:21 2016 -0400 @@ -317,6 +317,12 @@ vProtocols = map:get( base_options, "protocols", vProtocols) vCodeColors = map:get( base_options, "codecolors", vCodeColors) end if + for ii = 1 to length(vProtocols) do + if equal(vProtocols[ii], "FILE:") then + vProtocols = vProtocols[1..ii-1] & vProtocols[ii+1..$] + exit + end if + end for end procedure init()