File: doc_fix_code_block.patch

package info (click to toggle)
python-selectolax 0.4.6-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 708 kB
  • sloc: python: 2,239; makefile: 225
file content (19 lines) | stat: -rw-r--r-- 664 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From: Karsten Schöke <karsten.schoeke@geobasis-bb.de>
Date: Mar, 11 2026 14:41:57 +0100
Subject: docs/examples.rst: Fix code block issue
Docutils/Sphinx expects a blank line after an indented block (
code, quote, list) before the block ends or a new block begins.

Forwarded: https://github.com/rushter/selectolax/pull/214 
Applied-Upstream: https://github.com/rushter/selectolax/commit/6c529f3b440bad6f590fdfdcdb831d76405502e8

--- python-selectolax-0.4.6.orig/docs/examples.rst
+++ python-selectolax-0.4.6/docs/examples.rst
@@ -232,6 +232,7 @@ They can be called on any node.
 **Output:**
 
 .. code-block:: text
+
     Inner html:
 
       <div>Hi there</div>