Skip to content

warning blockquotes do not render sub-elements correctly #1588

@shawaj

Description

@shawaj

Bug Report

Steps to reproduce

Attempt to add a warning tip using the !> tag, running over multiple lines with a nested list, for example:

!> * list item 1
!> * list item 2
!> * list item 3

What is current behaviour

The warning tag does not allow sub elements to be rendered correctly because it uses paragraph tags instead of div tags.

Currently, if you put !> tags over multiple lines, you get the following output:
Screenshot 2021-06-06 at 00 27 09

Or if you add line breaks:
Screenshot 2021-06-06 at 00 38 58

What is the expected behaviour

Ideally, this should work similar to the > blockquote tag where it still allows you to put lists and other elements nested below it:
Screenshot 2021-06-06 at 00 33 57

This can be achieved by rendering it inside <div> tags instead of <p> tags as follows:
Screenshot 2021-06-06 at 01 07 56

Other relevant information

N/A

Please create a reproducible sandbox

N/A

Mention the docsify version in which this bug was not present (if any)

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy