dj_angles.replacers.objects

Module Contents

dj_angles.replacers.objects.logger
class dj_angles.replacers.objects.AtomicEdit

An atomic edit to the HTML string.

position: int
content: str
is_insert: bool = True
end_position: int
apply(text: str) str
dj_angles.replacers.objects.apply_edits(html: str, edits: list[AtomicEdit]) str

Apply a list of atomic edits to the HTML string.