Page MenuHomePhabricator

"scheme language" can't be high-lighted
Closed, ResolvedPublic

Description

Author: NalaGinrut

Description:
hi, I'm using MediaWiki.

And I can't high-light scheme language code with Syntax highlighting-GeSHi. My code attached below:

<source lang="scheme">

(define func

(lambda (x)
   (+ 1 x)
   (format #t "hello world~%")
   (newline)
))

</source>

This code will display only "hello world~%", that's definitely wrong.
I think my extension was installed well because I can see other language high-lighted correctly.
And when I change "scheme" to "lisp" , it works well. But lisp is not scheme.


Version: unspecified
Severity: normal
OS: Linux
Platform: PC

Details

Reference
bz26900

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:21 PM
bzimport set Reference to bz26900.

Testing this on my dev wiki gives "Unknown modifier c on SyntaxHighlight_geshi/geshi/geshi.php on line 3403

This seems to be actually a Geshi bug...

I don't see this on other languages...

I've logged it upstream.

It seems to be a duplicate bug of a couple, but needs testing on SVN head of their version

https://sourceforge.net/tracker/?func=detail&aid=3164574&group_id=114997&atid=670231

RESOLVED LATER - will be fixed when we can change the svn external we can use and it's fixed in there

NalaGinrut wrote:

(In reply to comment #4)

Just tested, this works fine on trunk geshi, ie using
https://geshi.svn.sourceforge.net/svnroot/geshi/trunk/geshi-1.0.X/src/

Well, I tested this trunk with Chromium 8.0.552.237 (70801) & firefox 3.6.13. It works well.
Thanks!