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 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?
  • ¥88 找成都本地经验丰富懂小程序开发的技术大咖
  • ¥15 如何处理复杂数据表格的除法运算
  • ¥15 如何用stc8h1k08的片子做485数据透传的功能?(关键词-串口)
  • ¥15 有兄弟姐妹会用word插图功能制作类似citespace的图片吗?
  • ¥200 uniapp长期运行卡死问题解决
  • ¥15 latex怎么处理论文引理引用参考文献
  • ¥15 请教:如何用postman调用本地虚拟机区块链接上的合约?
  • ¥15 为什么使用javacv转封装rtsp为rtmp时出现如下问题:[h264 @ 000000004faf7500]no frame?
  • ¥15 乘性高斯噪声在深度学习网络中的应用