Pope John XII

Pope John XII can also refer to Pope John XII of Alexandria.

Pope John XII (Latin: Ioannes XII; c. 930/937 – 14 May 964) was head of the Catholic Church from 16 December 955 to his death in 964. He was related to the Counts of Tusculum and a member of the powerful Roman family of Theophylact which had dominated papal politics for over half a century. His pontificate became infamous for the alleged depravity and worldliness with which he conducted his office.

Birth and election as pope

John XII was born Octavianus, the son of Alber ic II of Spoleto, Patrician and self-styled prince of Rome. His mother is believed to have been Alda of Vienne, Alberic’s stepsister and the daughter of King Hugh of Italy ... 

... Continue Reading


Source: https://en.wikipedia.org/wiki/Pope_John_XII

``` But the actual content in the prompt is: ```

Pope John XII

Pope John XII can also refer to Pope John XII of Alexandria.

Pope John XII (Latin: Ioannes XII; c. 930/937 – 14 May 964) was head of the Catholic Church from 16 December 955 to his death in 964. He was related to the Counts of Tusculum and a member of the powerful Roman family of Theophylact which had dominated papal politics for over half a century. His pontificate became infamous for the alleged depravity and worldliness with which he conducted his office.

Birth and election as pope

John XII was born Octavianus, the son of Alberic II of Spoleto, Patrician and self-styled prince of Rome. His mother is believed to have been Alda of Vienne, Alberic’s stepsister and the daughter of King Hugh of Italy. However, there is some doubt … Continue Reading


Source: https://en.wikipedia.org/wiki/Pope_John_XII

``` But there is also a stray `` then `` and then `Source: https://en.wikipedia.org/wiki/Pope_John_XII

``` Then there is `

Source: https://en.wikipedia.org/wiki/Pope_John_XII

Pope John XII

Pope John XII can also refer to Pope John XII of Alexandria.

Pope John XII (Latin: Ioannes XII; c. 930/937 – 14 May 964) was head of the Catholic Church from 16 December 955 to his death in 964. He was related to the Counts of Tusculum and a member of the powerful Roman family of Theophylact which had dominated papal politics for over half a century. His pontificate became infamous for the alleged depravity and worldliness with which he conducted his office.

Birth and election as pope

John XII was born Octavianus, the son of Alberic II of Spoleto, Patrician and self-styled prince of Rome. His mother is believed to have been Alda of Vienne, Alberic’s stepsister and the daughter of King Hugh of Italy. However, there is some doubt … Continue Reading


Source: https://en.wikipedia.org/wiki/Pope_John_XII

``` It ends with `

` and then a space. So we need to preserve that. Also there are self-closing `

` tags which are not standard HTML but we keep them as is. Now we need to translate all visible text: - "Pope John XII" -> "Папа Иоанн XII" - "Pope John XII can also refer to Pope John XII of Alexandria." -> "Папа Иоанн XII также может относиться к Папе Иоанну XII Александрийскому." - The next paragraph: "Pope John XII (Latin: Ioannes XII; c. 930/937 – 14 May 964) was head of the Catholic Church from 16 December 955 to his death in 964. He was related to the Counts of Tusculum and a member of the powerful Roman family of Theophylact which had dominated papal politics for over half a century. His pontificate became infamous for the alleged depravity and worldliness with which he conducted his office." Translate to Russian: "Папа Иоанн XII (лат. Ioannes XII; ок. 930/937 — 14 мая 964) был главой Католической церкви с 16 декабря 955 года до своей смерти в 964 году. Он был родственником графов Тускулума и членом могущественной римской семьи Теофилакт, которая более полувека доминировала в папской политике. Его понтификат стал печально известен из‑за предполагаемой развратности и мирского образа жизни, с которыми он исполнял свои обязанности." Need to preserve punctuation and maybe use en dash. - Next: "Birth and election as pope" -> "Рождение и избрание папой" - Next paragraph: "John XII was born Octavianus, the son of Alberic II of Spoleto, Patrician and self-styled prince of Rome. His mother is believed to have been Alda of Vienne, Alberic’s stepsister and the daughter of King Hugh of Italy. However, there is some doubt …" -> translate. "Иоанн XII родился под именем Октавий, сыном Альберика II из Сполето, патриция и самопровозглашённого принца Рима. Считается, что его матерью была Альда из Виенны, сводная сестра Альберика и дочь короля Гуго Италийского. Однако существуют некоторые сомнения …" Need to preserve the HTML entity … which is ellipsis. Keep it as is. - The link text "Continue Reading" -> "Читать дальше" - The source line: "Source:" -> "Источник:" (or "Источник:"). Keep the colon. - The URL text remains unchanged (the link text is the URL). Should we translate the URL? No, keep as is. Now we need to ensure we keep all tags exactly as they appear, only translate text nodes. Also there are self-closing `

` tags that appear before paragraphs. They are empty tags but they appear before the paragraph text. For example: `

Pope John XII (Latin: Ioannes XII; c. 930/937 – 14 May 964) ...

` So there is a self-closing `

` then the text then closing `

`. We need to keep that structure. Thus we need to produce: ```

Папа Иоанн XII

Папа Иоанн XII также может относиться к Папе Иоанну XII Александрийскому.

Папа Иоанн XII (Latin: Ioannes XII; c.