Project

General

Profile

« Previous | Next » 

Revision 0f129a6f

Added by Andreas Kohlbecker almost 4 years ago

fix #7605 fixing probelms with space around separators by hamonizing with cdmlib reference implementation

View differences:

modules/cdm_dataportal/includes/name.inc
364 364
      $taggedName = $taggedNameNew;
365 365
      unset($taggedNameNew);
366 366
    }
367
    $name = '<span class="' . $taxonName->class . '">' . $doubtful_marker_markup . $name_encasement . cdm_tagged_text_to_markup($taggedName, 'span', ' ', $skiptags) . $name_encasement . '</span>';
367
    $name = '<span class="' . $taxonName->class . '">' . $doubtful_marker_markup . $name_encasement . cdm_tagged_text_to_markup($taggedName, $skiptags) . $name_encasement . '</span>';
368 368
  }
369 369
  else {
370 370
    $name = '<span class="' . $taxonName->class . '_titleCache">' . $doubtful_marker_markup . $name_encasement . $taxonName->titleCache . $name_encasement . '</span>';
......
451 451
  // Fill with status.
452 452
  if(isset($renderTemplate['statusPart']['status'])){
453 453
    if (isset($nom_status_tagged_text[0])) {
454
        array_setr('status', '<span class="nomenclatural_status">' . cdm_tagged_text_to_markup($nom_status_tagged_text, 'span', '', array('postSeparator')) . '</span>', $renderTemplate);
454
        array_setr('status', '<span class="nomenclatural_status">' . cdm_tagged_text_to_markup($nom_status_tagged_text, array('postSeparator')) . '</span>', $renderTemplate);
455 455
    }
456 456
  }
457 457

  

Also available in: Unified diff