-
Notifications
You must be signed in to change notification settings - Fork 254
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
Right-aligned HTML paragraph breaks inline font styling #151
Comments
Thanks for the report @boghison! Could you please provide your source code for this test? |
@Lucas-C I got it from the PS Thank you for your work! |
I think it’s because aligned paragraphs get written with |
You're totally right, implementing #108 would help solving this! I'll try to get back to this other issue in the next weeks. |
Quick update: now pending on #171 |
Quick status update: solving this would require rendering the whole #91 is also closely related |
The reason for this problem is that the html.py module is currently rather a dirty hack than a correct implementation. Among other shortcomings, it just copies all the whitespace fromt the HTML data to the output, instead of condensing each run to a single space, which very often results in a very weird layout. The HTML parsing, and several other shortcomings, will have to be fixed seperately. |
I've just checked in #897, which should solve this problem. |
Bold/italic/underline text in
p
tags works for default parameters, but settingalign="right"
breaks the layout:The text was updated successfully, but these errors were encountered: