Added more details of recent fixes to the change.xml (thanks for the hint dion :)
Also added another failing test case along with a fix git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114144 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
5af0968d85
commit
ebe30ef486
5 files changed
+42
-11
No files matched your search
@@ -428,16 +428,16 @@ public class Html2XdocBean {
|
||||
String text = node.getText();
|
||||
return text.trim().length() <= 0;
|
||||
}
|
||||
if (node instanceof Element) {
|
||||
String name = node.getName();
|
||||
if (name.equals("p")) {
|
||||
String text = node.getText();
|
||||
return text.trim().length() <= 0;
|
||||
}
|
||||
if (name.equals("br")) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
// if (node instanceof Element) {
|
||||
// String name = node.getName();
|
||||
// if (name.equals("p")) {
|
||||
// String text = node.getText();
|
||||
// return text.trim().length() <= 0;
|
||||
// }
|
||||
// if (name.equals("br")) {
|
||||
// return true;
|
||||
// }
|
||||
// }
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user