Skip to Content Skip to Menu

Malformed html in mod_cblogin

  • jhattara
  • jhattara
  • OFFLINE
  • Posts: 1
  • Thanks: 0
  • Karma: 0
13 years 7 months ago - 13 years 7 months ago #159680 by jhattara
Malformed html in mod_cblogin was created by jhattara
Hello,

A user from a site I use Community Builder in noticed a small bug in mod_cblogin, which produces malformed HTML. Specifically on the lines 709 and 710 in the file mod_cblogin/mod_cblogin.php

The lines read:
Code:
echo '<form action="'.$loginPost.'" method="post" id="' . $idFormLogin . '" class="cbLoginForm"'; echo 'style="margin:0px;">'."\n";

Thie causes there to be no space between
Code:
class="cbLoginForm"style="margin:0px;"

Some HTML parsers get hickups from this kind of formatting. This could be fixed by adding a single space in the end of the first echo or the beginning of the second echo.

Thanks.

Edit: Site has Community Builder 1.4 and Joomla 1.5.22
Last edit: 13 years 7 months ago by jhattara. Reason: Added version information

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum