use a <div> for the infobox so mdwn doesn't insert <p> inside a <span>

master
http://smcv.pseudorandom.co.uk/ 2014-02-21 14:19:09 -04:00 committed by admin
parent ded1779969
commit 0437084ce9
1 changed files with 4 additions and 10 deletions

View File

@ -1,14 +1,8 @@
<span class="infobox">
<div class="infobox">
Available in a [[!taglink /git]] repository [[!taglink branch|/branches]].<br />
Branch: <TMPL_IF browse>
<a href="<TMPL_VAR browse>"><TMPL_VAR branch></a>
<TMPL_ELSE>
<TMPL_VAR branch>
</TMPL_IF><br />
<TMPL_IF author>
Author: <TMPL_VAR author><br />
</TMPL_IF>
</span>
Branch: <TMPL_IF browse><a href="<TMPL_VAR browse>"></TMPL_IF><TMPL_VAR branch><TMPL_IF browse></a></TMPL_IF>
<TMPL_IF>Author: <TMPL_VAR author><br /></TMPL_IF>
</div>
<TMPL_UNLESS branch>
This template is used to create an infobox for a git branch. It uses
these parameters: