dtbrd80422 2016-08-29 18:23
浏览 38
已采纳

阻止报价忽略空行并继续打开新报价

the following photo for a code that has an empty line every few lines, the block quote ignore empty lines and consider that as the quote end and keep opening new quotes.

that's strange since i made a blockquote once for the whole code .

enter image description here

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

here is an example on this website using the same code

   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

here is my blockquote rule

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;
    }

if you trying to get more information just tell me to add it .

  • 写回答

1条回答 默认 最新

  • dongyu5104 2016-09-05 13:56
    关注

    Use <pre> in addition to <blockquote> to keep the original formatting.

    Or add white-space: pre; to your style for blockquote p.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 stm32开发clion时遇到的编译问题
  • ¥15 lna设计 源简并电感型共源放大器
  • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)
  • ¥15 Vue3地图和异步函数使用
  • ¥15 C++ yoloV5改写遇到的问题
  • ¥20 win11修改中文用户名路径
  • ¥15 win2012磁盘空间不足,c盘正常,d盘无法写入
  • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计
  • ¥70 PlayWright在Java上连接CDP关联本地Chrome启动失败,貌似是Windows端口转发问题
  • ¥15 帮我写一个c++工程