Render line break conditionally in HtmlText module
This commit is contained in:
parent
3f9b112ea6
commit
967f92c1aa
|
@ -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 = "";
|
||||
|
|
Loading…
Reference in New Issue
Block a user