File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -42,10 +42,10 @@ def handleSlide(slide):
4242 handlePoints (slide .getElementsByTagName ("point" ))
4343
4444def handleSlideshowTitle (title ):
45- print ("<title>%s</title>" % getText (title .childNodes ))
45+ print (f "<title>{ getText (title .childNodes )} </title>" )
4646
4747def handleSlideTitle (title ):
48- print ("<h2>%s</h2>" % getText (title .childNodes ))
48+ print (f "<h2>{ getText (title .childNodes )} </h2>" )
4949
5050def handlePoints (points ):
5151 print ("<ul>" )
@@ -54,11 +54,11 @@ def handlePoints(points):
5454 print ("</ul>" )
5555
5656def handlePoint (point ):
57- print ("<li>%s</li>" % getText (point .childNodes ))
57+ print (f "<li>{ getText (point .childNodes )} </li>" )
5858
5959def handleToc (slides ):
6060 for slide in slides :
6161 title = slide .getElementsByTagName ("title" )[0 ]
62- print ("<p>%s</p>" % getText (title .childNodes ))
62+ print (f "<p>{ getText (title .childNodes )} </p>" )
6363
6464handleSlideshow (dom )
You can’t perform that action at this time.
0 commit comments