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):
251
251
252
252
if align :
253
253
self .body [- 1 ] = self .body [- 1 ].replace (
254
- ' />' , ' style="float: %s" />' % align )
254
+ '>' , ' style="float: %s">' % align
255
+ )
255
256
256
257
def depart_image (self , node ):
257
258
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>
133
133
</ table >
134
134
< p > < a href ="mailto:someone@somewhere.org "> someone@somewhere.org</ a > </ p >
135
135
< 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