Commit 41b2e5bf authored by yched's avatar yched

#167607 - stupid typo in theme_field? Three commits for simply adding a...

#167607 - stupid typo in theme_field? Three commits for simply adding a whitespace (#137900), can you believe that ?
parent 94c484c9
......@@ -996,7 +996,7 @@ function theme_field(&$node, &$field, &$items, $teaser, $page) {
$items_output .= '<div class="field-item">';
if ($label_display == 'inline') {
$items_output .= '<div class="field-label-inline'. ($delta ? '' : '-first') .'">';
$items_output .= $label .':&nbsp</div>' ;
$items_output .= $label .':&nbsp;</div>' ;
}
$items_output .= $item['view'] .'</div>';
}
......@@ -1006,7 +1006,7 @@ function theme_field(&$node, &$field, &$items, $teaser, $page) {
if (!empty($items_output)) {
$output .= '<div class="field field-type-'. strtr($field['type'], '_', '-') .' field-'. strtr($field['field_name'], '_', '-') .'">';
if ($label_display == 'above') {
$output .= '<div class="field-label">'. $label .':&nbsp</div>';
$output .= '<div class="field-label">'. $label .':&nbsp;</div>';
}
$output .= '<div class="field-items">'. $items_output .'</div>';
$output .= '</div>';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment