Browse Source

Pull request #436: 无 jira 任务, bugfix 合并 release

Merge in CORE/base-third from bugfix/10.0 to release/10.0

* commit '3ae4f48f6bf1eca94c9239f9b7b7694d2fe25cba':
  REPORT-31421 间距设置导致切割后的HTML 含有line-height属性
release/10.0
Harrison 5 years ago
parent
commit
2cf1cca8d9
  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")){ if(props.hasProperty("line-height")){
p.setAttribute("line-height", props.getProperty("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){ for(String margin : HtmlConstants.MARGIN){
if(props.hasPropertyInChain("div", margin)){ if(props.hasPropertyInChain("div", margin)){
String ss = props.getPropertyFromChain("div", margin); String ss = props.getPropertyFromChain("div", margin);

Loading…
Cancel
Save