Changeset 26257 for main

Show
Ignore:
Timestamp:
26.09.2012 13:41:15 (7 years ago)
Author:
sjm84
Message:

Fixed a problem that was causing lines with hash symbols in them to not be rendered properly

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/Dictionary.java

    r26254 r26257  
    181181            String initial = new String(initial_raw.getBytes("ISO-8859-1"), "UTF-8"); 
    182182 
    183             // Remove any comments from the string 
    184             if (initial.indexOf("#") != -1) 
    185             { 
    186                 initial = initial.substring(0, initial.indexOf("#")); 
    187             } 
    188183            // if we haven't been given any args, don't bother looking for them 
    189184            if (args == null)