Add extra <div> container for note of type danger
See original GitHub issueLet’s say I have in the DITA topic:
<note type="danger">It's dangerous</note>
and I publish using “args.gen.task.lbl”=“YES”.
The resulting HTML content looks like this:
<div class="dangertitle">DANGER</div>
<div class="note danger">It's dangerous</div>
So it ends up as two sibling div’s. If for example I would publish note with type warning:
<note type="warning">It's dangerous</note>
the resulting HTML output looks like this:
<div class="note warning"><span class="warningtitle">Warning:</span> It's dangerous</div>
so it contains a div which contains everything else. So we have an inconsistent approach, somehow in probably both cases we need a div which surrounds everything.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:13 (12 by maintainers)
Top Results From Across the Web
Insert extra div after every X divs - javascript - Stack Overflow
Note : I've separated out the code to create a new div element into a function to keep things simple. const divs =...
Read more >CSS · Bootstrap
Bootstrap requires a containing element to wrap site contents and house our grid system. You may choose one of two containers to use...
Read more >CSS · Bootstrap 3.3.6 Documentation - BootstrapDocs
Example: Column wrapping. If more than 12 columns are placed within a single row, each group of extra columns will, as one unit,...
Read more >Type, class, and ID selectors - Learn web development | MDN
A type selector is sometimes referred to as a tag name selector or element selector because it selects an HTML tag/element in your...
Read more >Bootstrap 4 Utilities - W3Schools
Use the border classes to add or remove borders from an element: ... <div class="float-xl-right">Float right on extra large screens or wider</div><br>
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is not critical for us.
This issue has been automatically marked as stale because it has not been updated recently. It will be closed soon if no further activity occurs. Thank you for your contributions.