[geeklog-cvs] Geeklog-1.x/system lib-comment.php,1.65,1.66

Dirk Haun dhaun at qs1489.pair.com
Mon Jul 7 14:29:10 EDT 2008


Update of /cvsroot/geeklog/Geeklog-1.x/system
In directory qs1489.pair.com:/tmp/cvs-serv13936/system

Modified Files:
	lib-comment.php 
Log Message:
Signatures in HTML-formatted comments weren't XHTML compliant


Index: lib-comment.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-comment.php,v
retrieving revision 1.65
retrieving revision 1.66
diff -C2 -d -r1.65 -r1.66
*** lib-comment.php	23 May 2008 10:50:50 -0000	1.65
--- lib-comment.php	7 Jul 2008 18:29:08 -0000	1.66
***************
*** 720,724 ****
              if (!empty ($sig)) {
                  if (($postmode == 'html') || ($fakepostmode == 'html')) {
!                     $newcomment .= '<p>---<br' . XHTML . '>' . nl2br ($sig);
                  } else {
                      $newcomment .= LB . LB . '---' . LB . $sig;
--- 720,725 ----
              if (!empty ($sig)) {
                  if (($postmode == 'html') || ($fakepostmode == 'html')) {
!                     $newcomment .= '<p>---<br' . XHTML . '>' . nl2br($sig)
!                                 . '</p>';
                  } else {
                      $newcomment .= LB . LB . '---' . LB . $sig;
***************
*** 921,925 ****
      if (!empty ($sig)) {
          if ($postmode == 'html') {
!             $comment .= '<p>---<br' . XHTML . '>' . nl2br($sig);
          } else {
              $comment .= LB . LB . '---' . LB . $sig;
--- 922,926 ----
      if (!empty ($sig)) {
          if ($postmode == 'html') {
!             $comment .= '<p>---<br' . XHTML . '>' . nl2br($sig) . '</p>';
          } else {
              $comment .= LB . LB . '---' . LB . $sig;




More information about the geeklog-cvs mailing list