We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9d8899 commit 48fd7cbCopy full SHA for 48fd7cb
lib/github/commands/rest2html
@@ -251,7 +251,8 @@ class GitHubHTMLTranslator(HTMLTranslator):
251
252
if align:
253
self.body[-1] = self.body[-1].replace(
254
- ' />', ' style="float: %s" />' % align)
+ '>', ' style="float: %s">' % align
255
+ )
256
257
def depart_image(self, node):
258
uri = node['uri']
test/markups/README.rst.html
@@ -134,4 +134,4 @@ <h2><a href="#id2">Field list</a></h2>
134
<p><a href="mailto:someone@somewhere.org">someone@somewhere.org</a></p>
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;}
+<p><strong>RAW HTML!</strong></p> p {color:blue;}
0 commit comments