[haiku-bugs] Re: [Haiku] #5901: Change <code> blocks on website to use 4 spaces per tab.

  • From: "koki" <trac@xxxxxxxxxxxx>
  • Date: Tue, 04 May 2010 14:47:53 -0000

#5901: Change <code> blocks on website to use 4 spaces per tab.
----------------------+-----------------------------------------------------
  Reporter:  stippi   |       Owner:  haiku-web
      Type:  bug      |      Status:  closed   
  Priority:  normal   |   Milestone:           
 Component:  Website  |     Version:           
Resolution:  invalid  |    Keywords:           
 Blockedby:           |    Platform:  All      
  Blocking:           |  
----------------------+-----------------------------------------------------

Comment(by koki):

 Assuming that you are still using the Geshi Filter Module version 1.0.8.4,
 changing line 503 of geshi.php in the module directory from...

 {{{
     var $tab_width = 8;
 }}}

 to

 {{{
     var $tab_width = 4;
 }}}

 ...will at least in theory change the tab stop size and most likely do the
 trick.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5901#comment:2>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: