@@ -1072,13 +1072,8 @@ function create_requirements_checklist(){
10721072 //standard_header_text.innerText = standardName;
10731073 //standard_header_rule.appendChild(standard_header_text);
10741074
1075- all_essential_IMRaD_items_innerHTML = "" + all_intro_items + "\n_hr_" + all_method_items + "\n_hr_" + all_results_items + "\n_hr_" + all_discussion_items + "\n_hr_" + all_other_items
1076- all_essential_IMRaD_items_innerHTML = all_essential_IMRaD_items_innerHTML . replaceAll ( "\n_hr_" , "" ) . length > 0 ? all_essential_IMRaD_items_innerHTML : "" ;
1077-
1078-
10791075 if ( checklistTag . getAttribute ( 'name' ) == "Essential" ) {
10801076 //EssentialUL.appendChild(standard_header_rule);
1081- checklists = preparation_to_convert_MD_to_HTML ( "" , 'Essential' , all_essential_IMRaD_items_innerHTML , footnotes , supCheckList ) ;
10821077
10831078 if ( i == 1 )
10841079 EssentialUL . appendChild ( Yes_No ) ;
@@ -1102,12 +1097,15 @@ function create_requirements_checklist(){
11021097 }
11031098 }
11041099 }
1100+ all_essential_IMRaD_items_innerHTML = "" + all_intro_items + "\n_hr_" + all_method_items + "\n_hr_" + all_results_items + "\n_hr_" + all_discussion_items + "\n_hr_" + all_other_items
1101+ all_essential_IMRaD_items_innerHTML = all_essential_IMRaD_items_innerHTML . replaceAll ( "\n_hr_" , "" ) . length > 0 ? all_essential_IMRaD_items_innerHTML : "" ;
11051102
11061103
11071104 // Notify testers in the case of unrecognized tags, no tags at all, or untagged attributes
11081105 notify_testers ( ) ;
11091106
11101107 // Change from Markdown to HTML elements
1108+ checklists = preparation_to_convert_MD_to_HTML ( "" , 'Essential' , all_essential_IMRaD_items_innerHTML , footnotes , supCheckList ) ;
11111109 EssentialUL . appendChild ( checklists ) ;
11121110
11131111 checklists = preparation_to_convert_MD_to_HTML ( standardTag . getAttribute ( 'name' ) , "Supplementary" , supCheckList . items . replaceAll ( "{supplement}" , "" ) , footnotes , supCheckList ) ;
0 commit comments