Commit cfd8b1ec authored by Nemo Ma's avatar Nemo Ma Committed by GitHub

Merge pull request #21 from hikawiier/waaagh

fix
parents e48eda1e a62529c6
...@@ -608,9 +608,13 @@ function parse_itm_desc($n,$t,$short=0,$c=NULL) ...@@ -608,9 +608,13 @@ function parse_itm_desc($n,$t,$short=0,$c=NULL)
} }
$ret = $span; $ret = $span;
if(!empty($ret1)) $ret .= $p1.$ret1; if(!empty($ret1)) $ret .= $p1.$ret1;
if(!empty($ret2)) if(isset($c))
{
$ret2 = $c."\"";
$ret .= $p2.$ret2;
}
elseif(!empty($ret2))
{ {
if(isset($c)) $ret2 = $c."\"";
$ret .= $p2.$ret2; $ret .= $p2.$ret2;
} }
$ret .= ">".$n."</span>"; $ret .= ">".$n."</span>";
......
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