* README.md: a little more
* Yavsc.sln: Adds some solution items * BBCodeHelper.cs: code formatting * Edit.aspx: refactoring * UserPost.aspx: useless statment * Web.csproj: README removal * README: moved to /README.md
This commit is contained in:
parent
60236ba517
commit
a342b744df
7 changed files with 137 additions and 133 deletions
|
|
@ -20,7 +20,7 @@
|
|||
</asp:Content>
|
||||
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
|
||||
<% if (Model != null ) if (Model.Content != null ) {
|
||||
BBCodeHelper.Init (); %>
|
||||
BBCodeHelper.InitParser (); %>
|
||||
<%= Html.ActionLink(Model.Title,"UserPost",new{user=Model.UserName,title=Model.Title}) %>
|
||||
<div class="blogpost">
|
||||
<%= BBCodeHelper.Parser.ToHtml(Model.Content) %>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@
|
|||
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
|
||||
|
||||
<div class="blogpost">
|
||||
<% BBCodeHelper.Init(); %>
|
||||
<%= BBCodeHelper.Parser.ToHtml(Model.Content) %>
|
||||
</div>
|
||||
<%
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue