anchor.diff:            data-role="preview-container">
             <hr>
   
  -          <% if @json_object["before_start"]&&@json_object["before_start"]!="" %>
  +          <% if @json_object["before_start"].present? %>
   
             <strong><%= t("protocols.protocols_io_import.preview.b_s_p") %></strong><br>
             <%= (@json_object["before_start"]) %><br>
   
             <% end %>
  -          <% if @json_object["warning"]&&@json_object["warning"]!="" %>
  +          <% if @json_object["warning"].present? %>
   
             <strong><%= t("protocols.protocols_io_import.preview.warn") %></strong><br>
             <%= (@json_object["warning"]) %><br>
   
             <% end %>
  -          <% if @json_object["guidelines"]&&@json_object["guidelines"]!="" %>
  +          <% if @json_object["guidelines"].present? %>
   
             <strong><%= t("protocols.protocols_io_import.preview.guideln") %></strong><br>
             <%= (@json_object["guidelines"]) %><br>
   
             <% end %>
   
  -          <% if @json_object["link"]&&@json_object["link"]!="" %>
  +          <% if @json_object["link"].present? %>
   
             <br><strong><%= t("protocols.protocols_io_import.preview.p_link") %></strong><br>
             <%= (@json_object["link"]) %>
  
positive.code:                     <br><%= t("protocols.protocols_io_import.preview.auth") %>
                      <%= (key["source_data"]["full_name"]) %>
                      <br>
                      <% if key["source_data"]["link"]&&key["source_data"]["link"]!="" %>
                      <%= t("protocols.protocols_io_import.preview.s_nobr_link") %>
                      <%= (key["source_data"]["link"]) %>
                      <% end %>
  
negative.code:                   <% end %>
  
                    <%  if(key1["component_type_id"]=="6") %>
                    <% if(key1["data"].present?) %>
                    <% title ||=key1["data"] %>
                    <% end %>
                    <% end %>
  