|
@@ -409,7 +409,8 @@ public class ExcutePatentDataStar implements IExcutePatentData {
|
|
|
Matcher matcher = compile.matcher(cnFullXmlStr);
|
|
|
StringBuilder builder = new StringBuilder();
|
|
|
while (matcher.find()) {
|
|
|
- String right = matcher.group().replaceAll("<.*?>", "");
|
|
|
+ String macherGroup = matcher.group();
|
|
|
+ String right = macherGroup.replaceAll("<.*?>", "").trim();
|
|
|
builder.append(right).append("\r\n");
|
|
|
}
|
|
|
|
|
@@ -417,6 +418,7 @@ public class ExcutePatentDataStar implements IExcutePatentData {
|
|
|
|
|
|
//使用工具类去除字符串文本中的所有HTML格式标签
|
|
|
patentRightText = RemoveHtmlTagsUtils.removeHtmlTags(patentRightText);
|
|
|
+ patentRightText = patentRightText.trim();
|
|
|
|
|
|
//装载权利要求原文
|
|
|
PatentRight patentRight = new PatentRight();
|
|
@@ -471,6 +473,7 @@ public class ExcutePatentDataStar implements IExcutePatentData {
|
|
|
|
|
|
//使用工具类去除字符串文本中的所有HTML格式标签
|
|
|
instructionText = RemoveHtmlTagsUtils.removeHtmlTags(instructionText);
|
|
|
+ instructionText = instructionText.trim();
|
|
|
|
|
|
//装载说明书文本全文
|
|
|
PatentInstructionText patentInstructionText = new PatentInstructionText();
|