Changeset 868

Show
Ignore:
Timestamp:
04/08/08 03:15:32 (8 months ago)
Author:
bastnic
Message:

fixed #536 : <script /> tags don't end with a newline. p=Warren Seine

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/jelix/core/response/jResponseHtml.class.php

    r815 r868  
    55* @author      Laurent Jouanneau 
    66* @contributor Yann (description and keywords), Dominique Papin 
     7* @contributor Warren Seine 
    78* @copyright   2005-2008 Laurent Jouanneau, 2006 Yann, 2007 Dominique Papin 
     9* @copyright   2008 Warren Seine 
    810*              few lines of code are copyrighted CopixTeam http://www.copix.org 
    911* @link        http://www.jelix.org 
     
    454456                $more .= $param_name.'="'. htmlspecialchars($param_value).'" '; 
    455457            } 
    456             echo '<script type="text/javascript" src="',$src,'" ',$more,'></script>'
     458            echo '<script type="text/javascript" src="',$src,'" ',$more,'></script>',"\n"
    457459        } 
    458460        if(count($this->_JSIELink)){ 
     
    464466                    $more .= $param_name.'="'. htmlspecialchars($param_value).'" '; 
    465467                } 
    466                 echo '<script type="text/javascript" src="',$src,'" ',$more,'></script>'
     468                echo '<script type="text/javascript" src="',$src,'" ',$more,'></script>',"\n"
    467469            } 
    468470            echo '<![endif]-->'; 
  • trunk/lib/jelix/core/response/jResponseHtml.class.php

    r815 r868  
    55* @author      Laurent Jouanneau 
    66* @contributor Yann (description and keywords), Dominique Papin 
     7* @contributor Warren Seine 
    78* @copyright   2005-2008 Laurent Jouanneau, 2006 Yann, 2007 Dominique Papin 
     9* @copyright   2008 Warren Seine 
    810*              few lines of code are copyrighted CopixTeam http://www.copix.org 
    911* @link        http://www.jelix.org 
     
    454456                $more .= $param_name.'="'. htmlspecialchars($param_value).'" '; 
    455457            } 
    456             echo '<script type="text/javascript" src="',$src,'" ',$more,'></script>'
     458            echo '<script type="text/javascript" src="',$src,'" ',$more,'></script>',"\n"
    457459        } 
    458460        if(count($this->_JSIELink)){ 
     
    464466                    $more .= $param_name.'="'. htmlspecialchars($param_value).'" '; 
    465467                } 
    466                 echo '<script type="text/javascript" src="',$src,'" ',$more,'></script>'
     468                echo '<script type="text/javascript" src="',$src,'" ',$more,'></script>',"\n"
    467469            } 
    468470            echo '<![endif]-->'; 
  • trunk/lib/jelix/core/response/jResponseHtml.class.php

    r815 r868  
    55* @author      Laurent Jouanneau 
    66* @contributor Yann (description and keywords), Dominique Papin 
     7* @contributor Warren Seine 
    78* @copyright   2005-2008 Laurent Jouanneau, 2006 Yann, 2007 Dominique Papin 
     9* @copyright   2008 Warren Seine 
    810*              few lines of code are copyrighted CopixTeam http://www.copix.org 
    911* @link        http://www.jelix.org 
     
    454456                $more .= $param_name.'="'. htmlspecialchars($param_value).'" '; 
    455457            } 
    456             echo '<script type="text/javascript" src="',$src,'" ',$more,'></script>'
     458            echo '<script type="text/javascript" src="',$src,'" ',$more,'></script>',"\n"
    457459        } 
    458460        if(count($this->_JSIELink)){ 
     
    464466                    $more .= $param_name.'="'. htmlspecialchars($param_value).'" '; 
    465467                } 
    466                 echo '<script type="text/javascript" src="',$src,'" ',$more,'></script>'
     468                echo '<script type="text/javascript" src="',$src,'" ',$more,'></script>',"\n"
    467469            } 
    468470            echo '<![endif]-->'; 
  • trunk/lib/jelix/CREDITS

    r861 r868  
    132132 - plugin tpl cycle (#149) 
    133133 
     134Warren Seine (aka SooW) 
     135 - <script /> tags don't end with a newline (#536) 
     136 
    134137Christian Tritten 
    135138 - improvements on pagelinks plugin (#340) 
  • trunk/lib/jelix/CREDITS

    r861 r868  
    132132 - plugin tpl cycle (#149) 
    133133 
     134Warren Seine (aka SooW) 
     135 - <script /> tags don't end with a newline (#536) 
     136 
    134137Christian Tritten 
    135138 - improvements on pagelinks plugin (#340) 
  • trunk/lib/jelix/CREDITS

    r861 r868  
    132132 - plugin tpl cycle (#149) 
    133133 
     134Warren Seine (aka SooW) 
     135 - <script /> tags don't end with a newline (#536) 
     136 
    134137Christian Tritten 
    135138 - improvements on pagelinks plugin (#340) 
Download in other formats: Unified Diff Zip Archive