Browse Source

Pull request #435: REPORT-31421 间距设置导致切割后的HTML 含有line-height属性

Merge in CORE/base-third from ~HUGH.C/base-third:bugfix/10.0 to bugfix/10.0

* commit '7eb5d71ff4183f16d5ba897cdbabc8edd9ee2955':
  REPORT-31421 间距设置导致切割后的HTML 含有line-height属性
bugfix/10.0
Hugh.C 4 years ago
parent
commit
3ae4f48f6b
  1. 3
      fine-itext/src/com/fr/third/v2/lowagie/text/html/simpleparser/FactoryProperties.java

3
fine-itext/src/com/fr/third/v2/lowagie/text/html/simpleparser/FactoryProperties.java

@ -140,6 +140,9 @@ public class FactoryProperties {
if(props.hasProperty("line-height")){
p.setAttribute("line-height", props.getProperty("line-height"));
}
if (props.hasProperty("noexist-attrid")) {
p.setAttribute("noexist-attrid", props.getProperty("noexist-attrid"));
}
for(String margin : HtmlConstants.MARGIN){
if(props.hasPropertyInChain("div", margin)){
String ss = props.getPropertyFromChain("div", margin);

Loading…
Cancel
Save