Commit aeff2849 authored by hj's avatar hj

更新提交

parent 183a4470
......@@ -77,7 +77,7 @@ class ChemicalsMsdsService
}
$msds_html = str_replace($dl, $dlHtml, $msds_html);
}
if($key == 1){
if($key == 1 || $key == 3 || $key == 4){
preg_match_all('/<dt>(?<cTitle>[\s\S]*?)<\/dt>[\s]*?<dd[\s\S]*?>(?<cContent>[\s\S]*?)<\/dd>/i', $dl, $ddContent);
if($ddContent){
$dlHtml = '';
......
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