Is there are a way to utilize Html.ValidationMessageFor() to return the validation text without the HTML markup around it?
Currently this code:
@Html.ValidationMessageFor(m => m.SomeProperty)
Returns this:
<span class="field-validation-error" data-valmsg-for="Model.SomeProperty" data-valmsg-replace="true">This field is required.</span>
And I would much prefer this:
This field is required.