File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -339,10 +339,11 @@ extension JSONApplication {
339339        // Header line with a standard Markdown link so it's always clickable
340340        markdownDescription. append ( " - [ \( self . title) ]( \( self . repoURL) ) -  \( self . shortDescription) \n " ) 
341341
342-         // Collapsible extra details (languages, links, screenshots)
343-         markdownDescription. append ( " <details> " ) 
344-         markdownDescription. append ( " <summary>More</summary> " ) 
345-         markdownDescription. append ( " <p> " ) 
342+         // Collapsible extra details (languages, links, screenshots) indented to belong to the list item
343+         let  indent  =  "    " 
344+         markdownDescription. append ( indent +  " <details> " ) 
345+         markdownDescription. append ( indent +  " <summary>More</summary> " ) 
346+         markdownDescription. append ( indent +  " <p> " ) 
346347
347348        // Add languages
348349        markdownDescription. append ( " <b>Languages:</b>  \( languages) <br> " ) 
@@ -398,8 +399,8 @@ extension JSONApplication {
398399            } 
399400        } 
400401
401-         markdownDescription. append ( " </p> " ) 
402-         markdownDescription. append ( " </details> " ) 
402+         markdownDescription. append ( indent  +   " </p> " ) 
403+         markdownDescription. append ( indent  +   " </details> " ) 
403404
404405        return  markdownDescription
405406    } 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments