';
if ( $type === 'bibtex' ) {
$s .= '
';
}
else {
$s .= '
' . $content . '
';
}
$s .= '';
$s .= '
';
return $s;
}
/**
* Prepares a single publication field for HTML
* @param string $element
* @param string $content
* @param string $before
* @param string $after
* @param string $use_span
* @return string
* @since 6.0.0
*/
public static function prepare_field($element, $content, $before = '', $after = '', $use_span = false) {
if ( $content === '' ) {
return '';
}
if ( $use_span === true ) {
return '