.
This commit is contained in:
@@ -71,18 +71,18 @@ public class MarketingAnalysisService {
|
||||
|
||||
private static final String[] SECTION_ROMANS = new String[] { "I", "II", "III", "IV", "V", "VI", "VII", "VIII",
|
||||
"IX", "X", "XI" };
|
||||
private static final Map<String, String> ROMAN_TO_ANCHOR_ID = Map.of(
|
||||
"I", "section-i",
|
||||
"II", "section-ii",
|
||||
"III", "section-iii",
|
||||
"IV", "section-iv",
|
||||
"V", "section-v",
|
||||
"VI", "section-vi",
|
||||
"VII", "section-vii",
|
||||
"VIII", "section-viii",
|
||||
"IX", "section-ix",
|
||||
"X", "section-x",
|
||||
"XI", "section-xi");
|
||||
private static final Map<String, String> ROMAN_TO_ANCHOR_ID = Map.ofEntries(
|
||||
Map.entry("I", "section-i"),
|
||||
Map.entry("II", "section-ii"),
|
||||
Map.entry("III", "section-iii"),
|
||||
Map.entry("IV", "section-iv"),
|
||||
Map.entry("V", "section-v"),
|
||||
Map.entry("VI", "section-vi"),
|
||||
Map.entry("VII", "section-vii"),
|
||||
Map.entry("VIII", "section-viii"),
|
||||
Map.entry("IX", "section-ix"),
|
||||
Map.entry("X", "section-x"),
|
||||
Map.entry("XI", "section-xi"));
|
||||
|
||||
private String addAnchorsAndHeadingLevelsForSections(String fullAnalysis) {
|
||||
if (fullAnalysis == null || fullAnalysis.isBlank()) {
|
||||
@@ -3390,7 +3390,6 @@ public class MarketingAnalysisService {
|
||||
|
||||
// Key metrics block before section I
|
||||
String regionStr = "-";
|
||||
List<String> regions = request.getRegion();
|
||||
if (regions != null && !regions.isEmpty()) {
|
||||
regionStr = String.join(", ", regions);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user