Skip to content

remove_all_fill(tag) modifies tag in place #1538

@gadenbuie

Description

@gadenbuie

In #862, as_fill_item() and as_fillable_container() were updated to make a copy of the input tag and to return the modified copy rather than the modified original. However, remove_all_fill(tag) still modifies tag in place.

Returns
-------
:
The original :class:`~htmltools.Tag` object with filling layout attributes
removed.

We don't use remove_all_fill() internally, but IMHO it should be consistent with the other functions in the module.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions