dever 6 rokov pred
rodič
commit
e61339a0d9

+ 1 - 1
h5/assets/mobile/article.html

@@ -32,7 +32,7 @@
         <{loop($content):}>
         <{if($v['type'] == 1):}>
         <{if(isset($v['content'])):}>
-        <{$v['content']}>
+        <{str_replace(array('width', 'height'), array('widths', 'heights'), $v['content'])}>
         <{endif}>
 
         <{elseif($v['type'] == 2):}>

+ 1 - 1
h5/assets/mobile/feature.html

@@ -17,7 +17,7 @@
       <div class="rich-wrapper">
         <{loop($content):}>
         <{if($v['type'] == 1):}>
-        <{$v['content']}>
+        <{str_replace(array('width', 'height'), array('widths', 'heights'), $v['content'])}>
 
         <{elseif($v['type'] == 2):}>
           <!--视频-->