File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -638,9 +638,9 @@ sub _PrintMethodBlock
638638 if (defined $comments ) { print " $comments \n " ; }
639639
640640 # Print collapsible source code block
641- print " \@ htmlonly\n " ;
641+ print " \@ htmlonly[block] \n " ;
642642 print " <div id='codesection-$method ' class='dynheader closed' style='cursor:pointer;' onclick='return toggleVisibility(this)'>\n " ;
643- print " \t <img id='codesection-$method -trigger' src='closed.png' style='display:inline'> <b>Code:</b>\n " ;
643+ print " \t <img id='codesection-$method -trigger' src='closed.png' alt='open/close icon' style='display:inline'/> <b>Code:</b>\n " ;
644644 print " </div>\n " ;
645645 print " <div id='codesection-$method -summary' class='dyncontent' style='display:block;font-size:small;'>click to view</div>\n " ;
646646 print " <div id='codesection-$method -content' class='dyncontent' style='display: none;'>\n " ;
@@ -649,7 +649,7 @@ sub _PrintMethodBlock
649649 print " \@ code\n " ;
650650 print " \# Number of lines of code in $method : $methodDef ->{'length'}\n " ;
651651 print " $methodDef ->{'code'}\n " ;
652- print " \@ endcode \@ htmlonly\n " ;
652+ print " \@ endcode \@ htmlonly[block] \n " ;
653653 print " </div>\n " ;
654654 print " \@ endhtmlonly */\n " ;
655655
You can’t perform that action at this time.
0 commit comments