Fix bug on empty html body
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115920 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e8a2253fe8
commit
c768d40496
@ -342,6 +342,8 @@ public class Html2XdocBean {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (list.size() == 0) return list;
|
||||||
|
|
||||||
// now lets remove any whitespace text nodes at the beginning and end
|
// now lets remove any whitespace text nodes at the beginning and end
|
||||||
while (true) {
|
while (true) {
|
||||||
Node node = (Node) list.getFirst();
|
Node node = (Node) list.getFirst();
|
||||||
|
|||||||
@ -25,6 +25,7 @@
|
|||||||
</properties>
|
</properties>
|
||||||
<body>
|
<body>
|
||||||
<release version="1.3.1-SNAPSHOT" date="in CVS">
|
<release version="1.3.1-SNAPSHOT" date="in CVS">
|
||||||
|
<action dev="dion" type="fix">Fix crash with an empty html body element.</action>
|
||||||
</release>
|
</release>
|
||||||
<release version="1.3" date="2004-05-15">
|
<release version="1.3" date="2004-05-15">
|
||||||
<action dev="dion" type="fix">Fix issues with DOM classes and jdk1.3</action>
|
<action dev="dion" type="fix">Fix issues with DOM classes and jdk1.3</action>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user