Add advanced custom fields to non-hyperlinked publications

I'm trying to display custom fields on my post like this:

  • first name; } echo & # 39;
  • & # 39 ;. implode (& # 39;, & # 39 ;, $ names). & # 39;
  • & # 39 ;; ?> first name; } echo & # 39;
  • & # 39 ;. implode (& # 39;, & # 39 ;, $ names). & # 39;
  • & # 39 ;; ?>

The problem is like this form creates an extra blank

  • article after each field.

    Custom Field Test

    How can I solve this problem?