Malformed html in mod_cblogin

13 years 2 weeks ago - 13 years 2 weeks 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:
echo '<form action="'.$loginPost.'" method="post" id="' . $idFormLogin . '" class="cbLoginForm"';
        echo 'style="margin:0px;">'."\n";

Thie causes there to be no space between
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

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.140 seconds

Facebook Twitter LinkedIn