giterlizzi / dokuwiki-plugin-bootswrapper

Bootstrap Wrapper for DokuWiki
GNU General Public License v2.0
35 stars 22 forks source link

Alert box not showing after upgrade to Hogfather #118

Closed pmeth closed 4 years ago

pmeth commented 4 years ago

I have a page where I use an alert box and after the upgrade to Hogfather it is not showing the alert box styling. In the preview however it works. So I am wondering if there are some specific things I need to do/check after upgrading.

Here is my code:

<alert type="danger" icon="glyphicon glyphicon-warning-sign" dismiss="true">
**Warning!** There is an updated version of this document. Click [[localdev:start|here]].
</alert>

In preview it renders like this:

<div class="level1">
<div class="bs-wrap alert alert-danger alert-dismissible" role="alert"><button type="button" class="close btn btn-default" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button><i class="glyphicon glyphicon-warning-sign"></i> <strong>Warning!</strong> There is an updated version of this document. Click <a href="/localdev/start" class="wikilink1" title="localdev:start" data-wiki-id="localdev:start">here</a>.
</div>
</div>

But in the article it renders like this

<div class="level1">
<strong>Warning!</strong> There is an updated version of this document. Click <a href="/localdev/start" class="wikilink1" title="localdev:start" data-wiki-id="localdev:start">here</a>.

</div>
pmeth commented 4 years ago

I remade my page and it seemed to fix the issue, so maybe something weird in my markup