|
@@ -222,7 +222,7 @@ public class CommonAnalysisUtil {
|
|
|
if (value.startsWith(":") || value.startsWith(":")) {
|
|
|
value = value.replaceFirst("[::]", "");
|
|
|
}
|
|
|
- structureMap.put(beforeTitle, value);
|
|
|
+ structureMap.put(beforeTitle, value.replace("\n", ""));
|
|
|
return;
|
|
|
}
|
|
|
if (line.contains(title)) {
|
|
@@ -233,7 +233,7 @@ public class CommonAnalysisUtil {
|
|
|
if (value.startsWith(":") || value.startsWith(":")) {
|
|
|
value = value.replaceFirst("[::]", "");
|
|
|
}
|
|
|
- structureMap.put(beforeTitle.replace(" ", ""), value);
|
|
|
+ structureMap.put(beforeTitle.replace(" ", ""), value.trim().replace("\n", ""));
|
|
|
}
|
|
|
line = line.substring(line.indexOf(newTitle) + newTitle.length());
|
|
|
depth++;
|