I have a column in my database with the data from a WYSYWIG form and now I want to display it in my user side. My problem is that it is not working as expected, data is displayed in plain text. Here's the code:
<div class="form-group">
<label for="house_rules">@lang('guestform.terms')</label>
<textarea id="house_rules" name="house_rules" class="form-control" rows="4" disabled> {!! $room['house_rules'] !!}</textarea>
</div>
I even tried parsing it using this {!! nl2br(e( $room['house_rules'] )) !!}
. Is there something I'm not doing right that I haven't seen?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire