Some initial text. .. class:: change-removed Removed section --------------- Some text in removed section [#]_. .. [#] Footnote to modify id counter. Constant section ---------------- Some text in constant section. Changing sub-section ~~~~~~~~~~~~~~~~~~~~ .. class:: change-replaced To be changed sub section text. .. class:: change-replacement A different content in a sub-section. Repeated section titles ----------------------- Now testing sections with repeated section titles. This leads to different ids. Constant section ~~~~~~~~~~~~~~~~ .. class:: change-replaced Repeat this. .. class:: change-replacement Repeated but different. Constant section ~~~~~~~~~~~~~~~~ .. class:: change-replaced Once again. .. class:: change-replacement Again.