redhatgov.github.io
redhatgov.github.io copied to clipboard
Adding 'alert warning' text boxes within panel groups results in rendering errors
Adding 'alert warning' text boxes within one panel within a panel group results in rendering errors. When using alerts in a panel, the text box format is not correctly rendered and an error is displayed alongside the intended warning text.
After some some testing it appears placing <p> </p>
around the alert codes enables proper rendering. Is this the intended behavior?
See the example below for an example:
{{< panel_group >}}
{{% panel "test 1" %}}
<p>
{{< alert info >}} OpenShift all the things test 1 {{< /alert >}}
</p>
{{% /panel %}}
{{% panel "test 2" %}}
{{< alert info >}} OpenShift all the things test 2 {{< /alert >}}
{{% /panel %}}
{{< /panel_group >}}
{{< panel_group >}}
{{% panel "test 3" %}}
<p>
{{< alert info >}} OpenShift all the things test 3 {{< /alert >}}
</p>
{{% /panel %}}
{{< /panel_group >}}
Further testing has shown the enclosing alerts in paragraph markers does not consistently resolve the issue. Please review the following page to see an example of the rendering errors:
https://raw.githubusercontent.com/jvanmeter/redhatgov.github.io/openshift33/content/workshops/openshift33/exercise1.6.md