Merge pull request #403 from hishamco/fix#396

Render line break conditionally in HtmlText module
This commit is contained in:
Shaun Walker 2020-04-26 13:20:33 -04:00 committed by GitHub
commit 779bb7aad5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,9 +8,15 @@
@((MarkupString)content)
<br />
@if (PageState.EditMode)
{
<br />
}
<ActionLink Action="Edit" />
<br /><br />
@if (PageState.EditMode)
{
<br /><br />
}
@code {
private string content = "";