File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,5 +3,10 @@ <h5 class="alert-heading">
33 < i class ="bi bi-award-fill me-1 "> </ i > Best Practice
44 </ h5 >
55 < hr >
6- {{ .Inner | markdownify }}
6+ {{ $inner := .Inner | markdownify }}
7+ {{ if not (findRE "^< p > " $inner) }}
8+ < p > {{ $inner }}</ p >
9+ {{ else }}
10+ {{ $inner }}
11+ {{ end }}
712</ div >
Original file line number Diff line number Diff line change @@ -3,5 +3,10 @@ <h5 class="alert-heading">
33 < i class ="bi bi-exclamation-circle-fill me-1 "> </ i > Common Pitfall
44 </ h5 >
55 < hr >
6- {{ .Inner | markdownify }}
6+ {{ $inner := .Inner | markdownify }}
7+ {{ if not (findRE "^< p > " $inner) }}
8+ < p > {{ $inner }}</ p >
9+ {{ else }}
10+ {{ $inner }}
11+ {{ end }}
712</ div >
Original file line number Diff line number Diff line change @@ -3,5 +3,10 @@ <h5 class="alert-heading">
33 < i class ="bi bi-book-half me-1 "> </ i > Digging Deeper
44 </ h5 >
55 < hr >
6- {{ .Inner | markdownify }}
6+ {{ $inner := .Inner | markdownify }}
7+ {{ if not (findRE "^< p > " $inner) }}
8+ < p > {{ $inner }}</ p >
9+ {{ else }}
10+ {{ $inner }}
11+ {{ end }}
712</ div >
You can’t perform that action at this time.
0 commit comments