Fixed and closed #478: added div tag to fix layout problem.
This commit is contained in:
parent
5774c21f2b
commit
829b0b78c2
2 changed files with 7 additions and 3 deletions
|
@ -105,7 +105,6 @@ namespace ScrewTurn.Wiki {
|
|||
// Print header
|
||||
sb.Append(@"<div class=""messageheader"">");
|
||||
//sb.AppendFormat(@"<a id=""MSG_{0}""></a>", message.ID);
|
||||
sb.AppendFormat(@"<a id=""{0}"" href=""#{0}"" title=""Permalink"">¶</a> ", Tools.GetMessageIdForAnchor(message.DateTime));
|
||||
|
||||
if(!currentPage.Provider.ReadOnly) {
|
||||
// Print reply/edit/delete buttons only if provider is not read-only
|
||||
|
@ -144,6 +143,9 @@ namespace ScrewTurn.Wiki {
|
|||
sb.Append("</div>");
|
||||
}
|
||||
|
||||
sb.Append(@"<div>");
|
||||
sb.AppendFormat(@"<a id=""{0}"" href=""#{0}"" title=""Permalink"">¶</a> ", Tools.GetMessageIdForAnchor(message.DateTime));
|
||||
|
||||
// Print subject
|
||||
if(message.Subject.Length > 0) {
|
||||
sb.Append(@"<span class=""messagesubject"">");
|
||||
|
@ -162,6 +164,8 @@ namespace ScrewTurn.Wiki {
|
|||
|
||||
sb.Append("</div>");
|
||||
|
||||
sb.Append("</div>");
|
||||
|
||||
// Print body
|
||||
sb.Append(@"<div class=""messagebody"">");
|
||||
sb.Append(FormattingPipeline.FormatWithPhase3(FormattingPipeline.FormatWithPhase1And2(message.Body, false, FormattingContext.MessageBody, currentPage),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue