This bug has nothing to do with highlight js, our markdown parse is being insane. recategorizing as bug. (add newline here and indenting will be correct)
public function checkCredentials($username, $password)
{
// ...
$userDetails = $userQuery->fetch(PDO::FETCH_ASSOC);
$isVerified = password_verify($password, $userDetails['password']);
if ($isVerified) {
session_start();
$_SESSION['currentUser'] = $userDetails;
}
return $isVerified;
}