块引用忽略空行并继续打开新报价

block quote ignore empty lines and keep opening new quotes

下图为每隔几行就有一个空行的代码, 块引用忽略空行并将其视为引用结束并继续打开新的引用。

这很奇怪,因为我为整个代码做了一次块引用。

the manual solve for the issue is adding >br>" on the empty line but that take a lot of time,, so the fix must be added on the blockquote function it self

这是本网站上使用相同代码的示例

   R3#show ip ospf database
    OSPF Router with ID (3.3.3.3) (Process ID 1)

    Router Link States (Area 1)                                   (This is type 1 )
    Link ID            ADV Router            Age          Seq#                  Checksum            Link count
    1.1.1.1               1.1.1.1                        1639        0x80000005      0x0011F5                     1
    2.2.2.2             2.2.2.2                      1645        0x80000005      0x00D22B                   1
    3.3.3.3             3.3.3.3                      1647        0x80000006      0x00FCAE                  2
    4.4.4.4            4.4.4.4                      1651         0x80000006     0x00D50C                   3
    5.5.5.5             5.5.5.5                       1646        0x80000004     0x001C0B                    2

    Net Link States (Area 1)                                        (This is type 2 )
    Link ID            ADV Router            Age           Seq#                   Checksum
    10.0.0.2            2.2.2.2                    1794          0x80000004     0x000CFA
    20.0.0.4           4.4.4.4                    1801           0x80000003     0x0015DE

    Summary Net Link States (Area 1)                    (This is type 3 )
    Link ID            ADV Router           Age        Seq#                    Checksum
    40.0.0.0           5.5.5.5                   1796       0x80000004        0x0047AC
    50.0.0.0           5.5.5.5                   1796       0x80000003        0x002BB5
    60.0.0.0           5.5.5.5                   1796       0x80000004        0x00B024
    70.0.0.0           5.5.5.5                   1798       0x80000003        0x004452
    80.0.0.0           5.5.5.5                   1799       0x80000004        0x0010A6
    90.0.0.0           5.5.5.5                   1799       0x80000003        0x00C6FA
    100.0.0.0         5.5.5.5                   1799       0x80000004        0x00A606
    110.0.0.0          5.5.5.5                   1799       0x80000003        0x009404

    Summary ASB Link States (Area 1)                   (This is type 4 )
    Link ID         ADV Router             Age         Seq#                    Checksum
    7.7.7.7             5.5.5.5                   1799        0x80000004      0x006490
    10.10.10.10     5.5.5.5                   1802        0x80000003      0x004A94

    Type-5 AS External Link States                         (This is type 5 )
    Link ID         ADV Router             Age         Seq#                      Checksum    Tag
    199.0.0.0      7.7.7.7                      363         0x80000004        0x0072FF     199
    200.0.0.0     10.10.10.10              172         0x80000001         0x00FF6D   200

这是我的块引用规则

blockquote p {
    font-family: "Playfair Display", serif;
    color:#000000;
    margin-right:250px;
    margin-left:150px;
    padding:25px;
    font-size: 14px;
    line-height: 1.3421052631;
    margin-bottom: 51px;
    background:#e9eff3;
    border-color:#87a6bc;
    border-style:solid;
    border-width:2px;
    }

如果您想了解更多信息,请告诉我添加它。

除了 <blockquote> 之外还使用 <pre> 以保持原始格式。

或将 white-space: pre; 添加到 blockquote p 的样式中。