<div>
    <ul class="nav nav-tabs">
        {% for tab in captions %}
            <li role="presentation" {% if tab.selected %}class="active"{% endif %}>
                <a id="{{ id }}" {{ tab.parent |raw }} {{ tab.href | raw }}>{{ tab.caption }}</a>
            </li>
        {% endfor %}
    </ul>
    <div class="panel panel-default">
        <div class="panel panel-body">
            {{ body | raw }}
        </div>
    </div>
</div>
<div>
    <ul class="nav nav-tabs">
        {% for tab in captions %}
            <li role="presentation" {% if tab.selected %}class="active"{% endif %}>
                <a id="{{ id }}" {{ tab.parent |raw }} {{ tab.href | raw }}>{{ tab.caption | raw}}</a>
            </li>
        {% endfor %}
    </ul>
    <div class="panel panel-default">
        <div class="panel panel-body">
            {{ body | raw }}
        </div>
    </div>
</div>
Allow html in tabbed browser caption
Allow html in tabbed browser caption
