cvs: pres2 / display.php

From: Date: Tue, 20 Jan 2004 21:22:19 +0000
Subject: cvs: pres2 / display.php
Groups: php.pres 
Request: Send a blank email to pres+get-946@lists.php.net to get a copy of this message
jmcastagnetto Tue Jan 20 16:22:19 2004 EDT Modified files: /pres2 display.php Log: Fixing empty bullets http://cvs.php.net/diff.php/pres2/display.php?r1=1.10&r2=1.11&ty=u Index: pres2/display.php diff -u pres2/display.php:1.10 pres2/display.php:1.11 --- pres2/display.php:1.10 Wed Jan 7 18:04:07 2004 +++ pres2/display.php Tue Jan 20 16:22:19 2004 @@ -535,7 +535,9 @@ $style .= 'list-style-type: none;'; - echo "<div $eff_str style=\"position: relative;\"><li style=\"$style\">".'<tt>'.$symbol.'</tt> '.markup_text(htmlspecialchars($bullet->text))."</li></div>\n"; + $markedText = ($bullet->text == '&nbsp;') ? $bullet->text : markup_text(htmlspecialchars($bullet->text)); + + echo "<div $eff_str style=\"position: relative;\"><li style=\"$style\">".'<tt>'.$symbol.'</tt> '.$markedText."</li></div>\n"; } function _table(&$table) {

« previous php.pres (#946) next »