-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when attempting to align an image to the right #64
Comments
I cannot confirm this. |
I will check again tonight when I am at a computer which can access the source file on which this error was occurring. If I can still reproduce the error, I will post my full source file and the command I used to generate the HTML. If not, I will close this issue as noise and apologize fully. Yes, this error still exists for me. Here is the source file. When generating an html file from this source file using the following command, I get the error mentioned in the OP:
|
Can't reproduce this error either, the right value seems to be valid for the |
This error is still present for me. To elaborate a little further, the definition for the |
Ohh I missed your example being a definition for inline substitution (I'm still learning some aspects of RST). Based on this mailing list thread, I think the behaviour you're experiencing is the expected one. The way you're defining your image is used for inline substitution, which means using the image within a line a text, in which case only the If instead you remove the reference ( In any case, if you still think this is a bug, you should probably report it upstream, since that's how docutils is implemented. |
I have the following snippet in my
index.rst
:This works just fine; however, if I change
bottom
toright
(a valid value according to the docutils documentation), I get the following error when runningrst2html5
:As a result, to get the desired affect, I'm going into the generated
index.html
and manually changeingclass="align-bottom"
toclass="align-right"
. Ideally,rst2html5
would recognizeright
as a valid value and set theclass
accordingly.The text was updated successfully, but these errors were encountered: