Skip to content

Bug: List inside table renders indicators at hanging indent #2076

@caio-pizzol

Description

@caio-pizzol

Summary

Fix list indicator (bullet/number) positioning when a list with hanging indent is inside a table cell.

Problem

When a list inside a table has a hanging indent, the list indicator incorrectly renders at the hanging indent position instead of staying at the

left margin. Word keeps the indicator at the left edge while starting list content at the hanging indent.

Repro

  1. Open attached docx in SuperDoc.
  2. The first table contains a list with hanging indent — the indicator is misaligned.
  3. Compare with the second item (list not in table) and third item (table with no list) which render correctly.

Expected

The list indicator remains at the left margin of the cell, and list content starts at the hanging indent position, matching Word's behavior.

Notes

The issue is specific to the interaction between list indicator positioning (w:numPr) and paragraph indentation (w:ind with w:hanging) inside table cells (w:tc). The attached sample doc includes comparison cases that isolate the problem.

Attachments

Screen Cast 2026-02-02 at 9.43.53 AM.mp4

List in table alignment.docx


Want to work on this? Check the Contributing Guide to get started. Comment on this issue to let us know you're picking it up.

Ref: SD-1718

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions