openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

BUGS (2077B)


      1 
      2                       BUGS - list of known bugs in GeSHi
      3                                Version 1.0.7.20
      4 
      5 - Putting a > inside an HTML comment will close the comment abruptly. There's nothing that
      6   can be done about this (at least in the 1.0.X series of GeSHi), but version 1.2 will fix
      7   this bug. Likewise for putting ?> inside a PHP string when in strict mode.
      8 - Number highlighting is quite poor [possibly better now]
      9 - I'm not happy with URLS - there still could be extra bugs, and it's rather unflexible
     10   (see TODO for a possible fix)
     11 - "Important" sections for some reason seem to have their spans added after every
     12   newline up until the next lexic, instead of stopping at the <END GeSHi> part. In fact,
     13   context sensitiveness is quite poor...
     14 - Using the extra line number highlighting feature without actually using line numbers
     15   will result in malformed XHTML (not sure about this one though...)
     16 - Slow!!! Especially for source with lots of strings in it. GeSHi will work acceptably
     17   for sourcecode under 5K (for simple language files like SQL, a 100K file can be
     18   highlighted in just 6 seconds), but above about 25K things get a little slow... If
     19   you're using this as part of some larger software, you may want to think about
     20   making some sort of "cache" effect to speed things up and reduce server load.
     21 - The result is built by string replacement instead of by building another string based
     22   on the source, that would be much safer. The focus of releases beyond 1.0.7 will be on
     23   changing this behaviour, which may well fix some of the other bugs mentioned above.
     24 - As of 1.0.7.1, dots (.) are allowed before keywords. This may change highlighting of some
     25   things slightly, if you notice anything odd about the highlighting then please report
     26   it to me.
     27 - Perl/Javascript /.../ regex syntax isn't supported.
     28 - The <pre> header output is not XHTML compliant. Please use the <div> header instead.
     29 
     30 Send any bug reports to nigel@geshi.org, or submit them via the bug tracker at
     31 sourceforge (http://sourceforge.net/tracker/?group_id=114997&atid=670231)