Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
J
jadx
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open-source
jadx
Commits
1f3aebf5
Commit
1f3aebf5
authored
Mar 11, 2018
by
Skylot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
res: close tag before cdata (#231)
parent
b39d79a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
BinaryXMLParser.java
...-core/src/main/java/jadx/core/xmlgen/BinaryXMLParser.java
+9
-6
No files found.
jadx-core/src/main/java/jadx/core/xmlgen/BinaryXMLParser.java
View file @
1f3aebf5
...
...
@@ -194,10 +194,13 @@ public class BinaryXMLParser extends CommonBinaryParser {
int
strIndex
=
is
.
readInt32
();
String
str
=
getString
(
strIndex
);
writer
.
startLine
().
addIndent
();
if
(!
isLastEnd
)
{
isLastEnd
=
true
;
writer
.
add
(
">"
);
}
writer
.
attachSourceLine
(
lineNumber
);
writer
.
add
(
StringUtils
.
escapeXML
(
str
.
trim
()));
String
escapedStr
=
StringUtils
.
escapeXML
(
str
);
writer
.
add
(
escapedStr
);
long
size
=
is
.
readInt16
();
is
.
skip
(
size
-
2
);
...
...
@@ -384,9 +387,9 @@ public class BinaryXMLParser extends CommonBinaryParser {
}
else
{
writer
.
startLine
(
"</"
);
writer
.
attachSourceLine
(
endLineNumber
);
if
(
elementNS
!=
-
1
)
{
writer
.
add
(
getString
(
elementNS
)).
add
(
':'
);
}
//
if (elementNS != -1) {
//
writer.add(getString(elementNS)).add(':');
//
}
writer
.
add
(
getString
(
elementName
)).
add
(
">"
);
}
isLastEnd
=
true
;
...
...
Write
Preview
Markdown
is supported
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