anchor.diff:  
                         <% end %>
   
  -
  -
                       <% end #notranji if št 1%>
   
  -
  -                  <% else #če ni prvi korak %>
  +                  <% else #if first step %>
   
                       <% unless value %>
  -                    <% value=key #json format ima random arraye namest hashov, ta problem je opisan pri if counter > 1 stavku %>
  -                    <% end %>
  -
  -                    <% if whitelist_simple.include?(value["component_type_id"])&& value["data"]!="" && value["name"] && value["data"]  %>
  -                      <br>
  -                      <%= (value["name"])+" : "+(value["data"]) %>
  -                      <%
  -                      #debug
  -                      #comp[counter];counter;@json.file_contents["steps"][3]["components"][0]["name"]
  -                      #@json.file_contents["steps"][0]["components"]
  -                      %>
  +                    <% value=key #protocols io first step json formating is sometimes broken, this is a workaround%>
  +                    <% end %>
  +                    <% #byebug %>
  +                    <% if whitelist_simple.include?(value["component_type_id"]) && value["data"] && value["data"]!=""  %>
  +                    <br>
  +                    <% case value["component_type_id"]%>
  +                  <%  when "6" %>
  +
  +                  <% when "1" %>
  +                    <br><strong>Description: </strong> <%=value["data"]%><br>
  +                  <% when "17" %>
  +                    <br><strong>Expected result: </strong> <%=value["data"]%><br>
  +                    <% else %>
  +                    <% end %>
   
                       <% elsif value && whitelist_complex.include?(value["component_type_id"]) %>
                         <% case value["component_type_id"]%>
                         <% when "8"%>
                         <br>
  -                      <%= "-"+(value["name"])+" : "+(value["source_data"]["name"]) %>
  +                      <strong><%= value["name"]+": " %></strong>  <%= (value["source_data"]["name"]) %>
                         <br>
                         Developer : <%= (value["source_data"]["developer"]) %>
                         <br>
  
positive.code: 
                        <% when "9"%>
                        <br>
                        <%= "-"+(key["name"])+" : "+(key["source_data"]["name"]) %>
                        <br>
                        Link : <%= (key["source_data"]["link"]) %>
  
  
                        <% when "15"%>
                        <br>
                        <%= "-"+(key["name"])+" : "+(key["source_data"]["name"]) %>
                        <br>
                        Description : <%= (key["source_data"]["description"]) %>
                        <br>
  
negative.code: 
                        <% when "18"%>
                        <br>
                        <strong>This protocol also contains an attached sub-protocol: </strong> <%= (value["source_data"]["protocol_name"]) %>
                        <br>
                        Author: <%= (value["source_data"]["full_name"]) %>
                        <br>
                        <% if value["source_data"]["link"]&&value["source_data"]["link"]!="" %>
                        Link: <%= (value["source_data"]["link"]) %>
                        <% end %>
                        <% when "19"%>
                        <br>
                        <strong><%= value["name"]+": " %></strong>  <%= value["source_data"]["body"] %>
                        <br>
                        Link : <%= (value["source_data"]["link"]) %>
  
  