Groups
Sign in
Groups
haskell-jp
Conversations
About
Send feedback
Help
GeSHI (シンタックスハイライトライブラリ) でトラブってませんか?
131 views
Skip to first unread message
KISHIMOTO, Makoto
unread,
Nov 7, 2012, 4:19:34 AM
11/7/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to haske...@googlegroups.com
きしもとと申します
ウィキペディアの http://ja.wikipedia.org/wiki/第一級関数#Haskell
(
http://ja.wikipedia.org/wiki/%E7%AC%AC%E4%B8%80%E7%B4%9A%E9%96%A2%E6%95%B0#Haskell
)
で、問題が起きているのですが、シングルクオートが文字列リテラルと解釈
されています。
Wikipedia (MediaWiki) の問題か、シンタックスハイライトライブラリの
GeSHI の問題か、わかっていないのですが、他の CMS 等の Haskell の
シンタックスハイライトで同じ(ような)問題に遭遇したことのある方は
おられますでしょうか?
KISHIMOTO, Makoto
unread,
Dec 15, 2012, 6:10:02 AM
12/15/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to haske...@googlegroups.com
きしもとです。自己フォロー
この件ですが、原因は GeSHi でした。ソースは次ですが、
http://geshi.svn.sourceforge.net/viewvc/geshi/trunk/geshi-1.0.X/src/geshi/haskell.php?revision=2566&content-type=text%2Fplain
> 'QUOTEMARKS' => array('"',"'"),
というように、ダブルクオートと共にシングルクオートも、文字列リテラルの
クオートとして扱われるようになっていました。
トラッカーに登録しましたので、そのうち対処されるかと思います。
http://sourceforge.net/tracker/?func=detail&aid=3585105&group_id=114997&atid=670231
KISHIMOTO, Makoto
unread,
Jan 8, 2014, 6:13:45 AM
1/8/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to haske...@googlegroups.com
きしもとです。フォローアップの遅さが議論の妨げになっていたらごめんなさい。
> > Wikipedia (MediaWiki) の問題か、シンタックスハイライトライブラリの
> > GeSHI の問題か、わかっていないのですが、他の CMS 等の Haskell の
> > シンタックスハイライトで同じ(ような)問題に遭遇したことのある方は
> > おられますでしょうか?
>
> この件ですが、原因は GeSHi でした。ソースは次ですが、
>
http://geshi.svn.sourceforge.net/viewvc/geshi/trunk/geshi-1.0.X/src/geshi/haskell.php?revision=2566&content-type=text%2Fplain
>
> > 'QUOTEMARKS' => array('"',"'"),
>
> というように、ダブルクオートと共にシングルクオートも、文字列リテラルの
> クオートとして扱われるようになっていました。
>
> トラッカーに登録しましたので、そのうち対処されるかと思います。
>
http://sourceforge.net/tracker/?func=detail&aid=3585105&group_id=114997&atid=670231
この件ですが(現在は
sourceforge.net
のURL構造が変わって
http://sourceforge.net/p/geshi/bugs/219/
になっていますが、特に催促など
していないためか放置されています)、WikiBooksのHaskellのページで
問題が認識されるなどした結果MediaWikiが(フォークして?)管理している
GeSHiのソースコードでは、昨年秋に対応する修正がされていました。
詳細についてはこちらを参照してください。
https://bugzilla.wikimedia.org/show_bug.cgi?id=52509
Reply all
Reply to author
Forward
0 new messages