Package: pymarkups / 3.1.1-1

update_doctest.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Dmitry Shachnev <mitya57@debian.org>
Date: Fri, 5 Mar 2021 20:16:10 +0300
Subject: Make the doctest pass with new markups

(cherry picked from commit b8cdbd0bf1644c58bcae7d8506cc8b7b6f354666)
---
 README.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.rst b/README.rst
index ecfbc34..c6788be 100644
--- a/README.rst
+++ b/README.rst
@@ -34,8 +34,8 @@ Usage example:
   'Hello, world!'
   >>> print(result.get_document_body())  # doctest: +NORMALIZE_WHITESPACE
   <div class="document" id="hello-world">
-  <h1 class="title">Hello, world!</h1>
-  <p>This is an example <strong>reStructuredText</strong> document.</p>
+  <h1 class="title" data-posmap="3">Hello, world!</h1>
+  <p data-posmap="5">This is an example <strong>reStructuredText</strong> document.</p>
   </div>
 
 .. _Markdown: https://daringfireball.net/projects/markdown/