-
Notifications
You must be signed in to change notification settings - Fork 43
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
Tab alignment not preserved when other text is on the same line #43
Comments
I can confirm that this issue is still present and, in my opinion, a fundamental flaw since tabbing on a line that already contains text is a common use case. Is there any insight into when this might be looked at or what would be needed to get a fix on this? |
The reason that this isn't implemented yet is because I have yet to come up a way to accomplish this with valid HTML and CSS since tab stops are not a thing in CSS. While there might be a creative way to mock the behavior of left-aligned tab stops, there is not a good way to handle center aligned or right aligned tab stops. Things get more complicated when text wraps to the next line. |
I've got an RTF file with a section resembling this (
--->
represents a\tab
character):The HTML produced has a
<p>
tag withtext-indent
set on the later list entries, but not on the first one as it shares a line with some other text. This means the first entry isn't aligned with its siblings.Here's a comparison between the RTF in MS Word and the HTML in Chrome:
Word (¶ on):
Word (¶ off):
Chrome:
The text was updated successfully, but these errors were encountered: