anchor.diff:                        <?php endif; ?>
                       </h2>
                     </div>
  -                  <div id="collapse-<?php print $host; ?>" class="panel-collapse collapse">
  +                  <div id="collapse-<?php print html_class($host); ?>" class="panel-collapse collapse">
                       <table class="table">
                         <tbody>
                           <?php foreach ($containers as $container => $links): ?>
  
positive.code:             <div class="row">
                <div class="panel-group">
                  <div class="panel panel-default">
                    <div class="panel-heading" data-toggle="collapse" data-target="#collapse-<?php print $host; ?>">
                      <h2 class="panel-title">
                        <?php if (($link = httpd_link_get($host)) || ($link = logs_link_get($host))): ?>
                          <a href="<?php print $link; ?>" target="_blank"><?php print $host; ?></a><span class="glyphicon glyphicon-link"></span>
  
negative.code:   return $logs_link;
  }
  
  function html_class($string) {
    $string = strtolower($string);
  
    $string = preg_replace("/[^a-z0-9_\s-]/", "", $string);
  
    $string = preg_replace("/[\s-]+/", " ", $string);
  
    $string = preg_replace("/[\s_]/", "-", $string);
  
    return $string;
  }
  
  ?>
  <!DOCTYPE html>
  
  