|
@@ -134,6 +134,9 @@ public class CommonAnalysisUtil {
|
|
beforeTitle = titles.get(Math.max(depth - 1, 0));
|
|
beforeTitle = titles.get(Math.max(depth - 1, 0));
|
|
title = titles.get(Math.min(depth, titles.size() - 1));
|
|
title = titles.get(Math.min(depth, titles.size() - 1));
|
|
if (depth == titles.size()) {
|
|
if (depth == titles.size()) {
|
|
|
|
+ if (line.contains("\n")) {
|
|
|
|
+ line = line.split("\n")[0];
|
|
|
|
+ }
|
|
value = line;
|
|
value = line;
|
|
structureMap.put(beforeTitle, value.trim());
|
|
structureMap.put(beforeTitle, value.trim());
|
|
return;
|
|
return;
|