File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -251,7 +251,8 @@ class GitHubHTMLTranslator(HTMLTranslator):
251251
252252 if align :
253253 self .body [- 1 ] = self .body [- 1 ].replace (
254- ' />' , ' style="float: %s" />' % align )
254+ '>' , ' style="float: %s">' % align
255+ )
255256
256257 def depart_image (self , node ):
257258 uri = node ['uri' ]
Original file line number Diff line number Diff line change @@ -133,5 +133,5 @@ <h2><a href="#id2">Field list</a></h2>
133133</ table >
134134< p > < a href ="mailto:someone@somewhere.org "> someone@somewhere.org</ a > </ p >
135135< p > Press < kbd > Ctrl+C</ kbd > to quit</ p >
136- < img alt ="foo.png " src ="foo.png " style ="float: right " / >
137- < p > < strong > RAW HTML!</ strong > </ p > p {color:blue;}
136+ < img alt ="foo.png " src ="foo.png " style ="float: right ">
137+ < p > < strong > RAW HTML!</ strong > </ p > p {color:blue;}
You can’t perform that action at this time.
0 commit comments