|
|
@ -92,10 +92,10 @@ public class PluginTask<T> extends Task<T> { |
|
|
|
* @return 处理之后的字符串 |
|
|
|
* @return 处理之后的字符串 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private String filterHtmlTag(String origin) { |
|
|
|
private String filterHtmlTag(String origin) { |
|
|
|
String regEx_html = "<[^>]+>"; |
|
|
|
String regHtml = "<[^>]+>"; |
|
|
|
Pattern p_html = Pattern.compile(regEx_html, Pattern.CASE_INSENSITIVE); |
|
|
|
Pattern patternHtml = Pattern.compile(regHtml, Pattern.CASE_INSENSITIVE); |
|
|
|
Matcher m_html = p_html.matcher(origin); |
|
|
|
Matcher matchHtml = patternHtml.matcher(origin); |
|
|
|
origin = m_html.replaceAll(""); |
|
|
|
origin = matchHtml.replaceAll(""); |
|
|
|
return origin; |
|
|
|
return origin; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|