summaryrefslogtreecommitdiffstats
path: root/src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/tableaftervalue/src/table-after-value.cpp
blob: 4ad9932d5f658790a6b9d8414898baef20b757ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#include "tableaftervalue.h"

/*!
    \class TableAfterValue
    \inmodule Test
    \brief Test that the \\table command can follow a \\value command.

    \section1 Background for this test content
    According to QTBUG-115720, whenever a \\value is followed by \\table, the
    contents of the two commands end up being merged. This is likely surprising.
    The bug report suggests a workaround, which is adding \\br between \\value
    and \\table.

    \sa TableAfterValue::Reproduces
*/

/*!
    \enum TableAfterValue::Reproduces

    \value Problem

    \table
    \row
    \li This table shouldn't be mangled by the previous \\value command.
    \endtable
*/