From b8092953e58554ff5378ff1fdfb2f8ef4e87ac8a Mon Sep 17 00:00:00 2001 From: milde Date: Fri, 25 Jun 2021 20:57:05 +0000 Subject: Code simplification in writers. Use node[...] instead of node.get(...) for basic attributes. Remove HTMLTranslator.topic_classes auxiliary attribute. HTML5: Do not add "compound-first", "compound-middle", or "compound-last" to elements nested in a compound. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8774 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- .../functional/expected/standalone_rst_html5.html | 70 +++++++++++----------- 1 file changed, 35 insertions(+), 35 deletions(-) (limited to 'docutils/test/functional/expected') diff --git a/docutils/test/functional/expected/standalone_rst_html5.html b/docutils/test/functional/expected/standalone_rst_html5.html index e52f614de..d572d3b4e 100644 --- a/docutils/test/functional/expected/standalone_rst_html5.html +++ b/docutils/test/functional/expected/standalone_rst_html5.html @@ -896,45 +896,45 @@ allowed (e.g. inside a directive).

is a single logical paragraph containing multiple physical body elements. For example:

-

The 'rm' command is very dangerous. If you are logged +

The 'rm' command is very dangerous. If you are logged in as root and enter

-
cd /
+
cd /
 rm -rf *
-

you will erase the entire contents of your file system.

+

you will erase the entire contents of your file system.

Test the handling and display of compound paragraphs:

-

Compound 2, paragraph 1,

-

compound 2, paragraph 2,

-

Compound 3, only consisting of one paragraph.

-
Compound 4.
+
Compound 4.
 This one starts with a literal block.
-

Compound 4, paragraph following the literal block.

+

Compound 4, paragraph following the literal block.

Now something really perverted -- a nested compound block. This is just to test that it works at all; the results don't have to be meaningful.

-

Compound 5, block 1 (a paragraph).

-
-

Compound 6 is block 2 in compound 5.

-

Compound 6, another paragraph.

+

Compound 5, block 1 (a paragraph).

+
+

Compound 6 is block 2 in compound 5.

+

Compound 6, another paragraph.

-

Compound 5, block 3 (a paragraph).

+

Compound 5, block 3 (a paragraph).

-

Compound 7, tests the inclusion of various block-level +

Compound 7, tests the inclusion of various block-level elements in one logical paragraph. First a table,

- +
@@ -957,48 +957,48 @@ paragraph.

-

followed by a paragraph. This physical paragraph is +

followed by a paragraph. This physical paragraph is actually a continuation of the paragraph before the table. It is followed by

-
+

a quote and

-
    +
    1. an enumerated list,

    -

    a paragraph,

    -
    +

    a paragraph,

    +
    --an

    option list,

    -

    a paragraph,

    -
    +

    a paragraph,

    +
    a field:

    list,

    -

    a paragraph,

    -
    +

    a paragraph,

    +
    a definition

    list,

    -

    a paragraph, an image:

    -../../../docs/user/rst/images/biohazard.png -

    a paragraph,

    -
    +

    a paragraph, an image:

    +../../../docs/user/rst/images/biohazard.png +

    a paragraph,

    +
    a line
    block,
    -

    a paragraph followed by a comment,

    +

    a paragraph followed by a comment,

    -

    a paragraph, a

    -
    +

    a paragraph, a

    +

    Note

    with content

    -

    and the final paragraph of the compound 7.

    +

    and the final paragraph of the compound 7.

    @@ -1225,7 +1225,7 @@ crunchy, now would it?

    - +
    @@ -1493,7 +1493,7 @@ from the +
    center aligned list table

    Albatross

    -- cgit v1.2.1
    I/O values

    Input