|
@@ -1057,13 +1057,13 @@ public class ExtractConfigServiceImpl implements ExtractConfigService {
|
|
|
}else {
|
|
|
if(option){
|
|
|
if(s.startsWith("<p>")){
|
|
|
- s = s.replaceAll("<p>","<p style=\"margin-left:40px;\">").replaceFirst("<p style=\"margin-left:40px;\">", "<p style=\"margin-left:20px;\">" + CommonUtils.getOptionNum(number) + ".");
|
|
|
+ s = s.replaceAll("<p>","<p style=\"margin-left:40px;\">").replaceFirst("<p style=\"margin-left:40px;\">", "<p style=\"margin-left:20px;\">" + CommonUtils.getOptionNum(number-1) + ".");
|
|
|
}else{
|
|
|
- s = "<p style=\"margin-left:20px;\">" + number + "." + s + "</p>";
|
|
|
+ s = "<p style=\"margin-left:20px;\">" + CommonUtils.getOptionNum(number-1) + "." + s + "</p>";
|
|
|
}
|
|
|
}else {
|
|
|
if(s.startsWith("<p>")){
|
|
|
- s = s.replaceAll("<p>","<p style=\"margin-left:40px;\">").replaceFirst("<p style=\"margin-left:40px;\">", "<p style=\"margin-left:20px;\">" + CommonUtils.getOptionNum(number) + ".");
|
|
|
+ s = s.replaceAll("<p>","<p style=\"margin-left:40px;\">").replaceFirst("<p style=\"margin-left:40px;\">", "<p style=\"margin-left:20px;\">" + number + ".");
|
|
|
}else{
|
|
|
s = "<p style=\"margin-left:20px;\">" + number + "." + s + "</p>";
|
|
|
}
|