Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
李 学龙
MCMS-JavaScript
Commits
f7f5b74f
"README.asciidoc" did not exist on "1.9-maint"
Commit
f7f5b74f
authored
6 years ago
by
ms-dev
Browse files
Options
Download
Email Patches
Plain Diff
修复栏目标签解析bug
parent
ce8791ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/com/mingsoft/cms/parser/impl/ChannelParser.java
+4
-3
...main/java/com/mingsoft/cms/parser/impl/ChannelParser.java
with
4 additions
and
3 deletions
+4
-3
src/main/java/com/mingsoft/cms/parser/impl/ChannelParser.java
+
4
-
3
View file @
f7f5b74f
...
...
@@ -26,8 +26,9 @@ import java.util.HashMap;
import
java.util.List
;
import
java.util.Map
;
import
java.util.regex.Matcher
;
import
java.util.regex.Pattern
;
import
java.util.regex.Pattern
;
import
com.alibaba.druid.util.StringUtils
;
import
com.mingsoft.basic.entity.ColumnEntity
;
import
com.mingsoft.parser.IParser
;
...
...
@@ -237,7 +238,7 @@ public class ChannelParser extends IParser {
super
.
htmlCotent
=
htmlCotent
;
super
.
newCotent
=
regexTab
;
htmlCotents
=
this
.
replaceFirst
(
regex
);
if
(
htmlCotents
.
length
()
!=
0
)
{
if
(
StringUtils
.
isEmpty
(
htmlCotents
)
)
{
htmlCotents
=
"标签格式错误"
;
}
return
htmlCotents
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment