Removes escaping of square brackets
Escaping square brackets seems to create problems converting certain files. If this breaks conversion of other files, the cause must be investigated.
This commit is contained in:
@ -427,9 +427,9 @@ public abstract class Converter {
|
||||
static String escapeSpecialCharactersInFileName(String fileName) {
|
||||
return fileName.replace("'", "\\\\\\'")
|
||||
.replace(",", "\\\\\\,")
|
||||
.replace(";", "\\\\\\;")
|
||||
.replace("]", "\\]")
|
||||
.replace("[", "\\[");
|
||||
.replace(";", "\\\\\\;");
|
||||
/*.replace("]", "\\]") //Not sure whether these should be escaped or not
|
||||
.replace("[", "\\[");*/
|
||||
}
|
||||
|
||||
static void print(String input) throws IOException {
|
||||
|
Reference in New Issue
Block a user