dj_angles.replacers.objects =========================== .. py:module:: dj_angles.replacers.objects Module Contents --------------- .. py:data:: logger .. py:class:: AtomicEdit An atomic edit to the HTML string. .. py:attribute:: position :type: int .. py:attribute:: content :type: str .. py:attribute:: is_insert :type: bool :value: True .. py:attribute:: end_position :type: int .. py:method:: apply(text: str) -> str .. py:function:: apply_edits(html: str, edits: list[AtomicEdit]) -> str Apply a list of atomic edits to the HTML string.