Using an if
statement while templating using the Razor mediator:
@if (...) {
<text><div></text>
}
@if (...) {
<text><div></text>
}
@if (...) {
<text></div></text>
}
But while using these <text>
tags, sometimes extra </text>
tags will be rendered out for no apparent reason. Any idea why these are being rendered out?