-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
claat: support for sub-level lists #9
Comments
FTR: turned out this is how export in HTML works in Google Docs, not a bug in claat. |
CLaaT gets its HTML by constructing a URL of the form https://docs.google.com/document/d/0x12345DEADBEEF/export?mimeType=text/html. Nested lists aren't really nested in Docs, they're just at different (adjustable) indents. Thus, for
we get HTML in the form
The
Thus the simplest fix I can think of would be to:
|
Is there a chance to hope for a level by the last character of the class name?
<ul class="c1 lst-kix_u006isz69p4w-0 start">
<li class="c4"><span class="c0">lvl 0</span></li>
</ul>
<ul class="c1 lst-kix_u006isz69p4w-1 start">
<li class="c3"><span class="c0">lvl 1</span></li>
</ul>
<ul class="c1 lst-kix_u006isz69p4w-2 start">
<li class="c5"><span class="c0">lvl 2</span></li>
<li class="c5"><span class="c0">lvl 2</span></li>
</ul>
<ul class="c1 lst-kix_u006isz69p4w-3 start">
<li class="c7"><span class="c0">lvl 3</span></li>
<li class="c7"><span class="c0">lvl 3</span></li>
</ul>
<ul class="c1 lst-kix_u006isz69p4w-2">
<li class="c5"><span class="c0">lvl 2</span></li>
<li class="c5"><span class="c0">lvl 2</span></li>
</ul>
<ul class="c1 lst-kix_u006isz69p4w-1">
<li class="c3"><span class="c0">lvl 1</span></li>
<li class="c3"><span class="c0">lvl 1</span></li>
</ul>
<ul class="c1 lst-kix_u006isz69p4w-0">
<li class="c4"><span class="c0">lvl 0</span></li>
</ul>
<ul class="c1 lst-kix_u006isz69p4w-1 start">
<li class="c3"><span class="c0">lvl 1</span></li>
<li class="c3"><span class="c0">lvl 1</span></li>
</ul>
<ul class="c1 lst-kix_u006isz69p4w-0">
<li class="c4"><span class="c0">lvl 0</span></li>
</ul>
<ul class="c1 lst-kix_u006isz69p4w-1 start">
<li class="c3"><span class="c0">lvl 1</span></li>
<li class="c3"><span class="c0">lvl 1</span></li>
</ul> |
@cassierecher any update on this?? |
For instance, this:
gets flattened into this:
/cc @JoseAlcerreca
The text was updated successfully, but these errors were encountered: