Commit 835e66f6 authored by hj's avatar hj

更新提交

parent 61d5b3e2
...@@ -83,7 +83,7 @@ class ChemicalsMsdsService ...@@ -83,7 +83,7 @@ class ChemicalsMsdsService
$dlHtml = ''; $dlHtml = '';
foreach($ddContent['cTitle'] as $k => $c){ foreach($ddContent['cTitle'] as $k => $c){
$dlHtml .= '<div><span style="margin: 0;"><b>'.$c.'</b></span>'; $dlHtml .= '<div><span style="margin: 0;"><b>'.$c.'</b></span>';
$dlHtml .= '<span style="font-weight: normal">'.$ddContent['cContent'][$k].'</span></div>'; $dlHtml .= '<span style="font-weight: normal;margin-left:15px;white-space: pre-wrap">'.$ddContent['cContent'][$k].'</span></div>';
} }
} }
$msds_html = str_replace($dl, $dlHtml, $msds_html); $msds_html = str_replace($dl, $dlHtml, $msds_html);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment