]> git.mxchange.org Git - friendica.git/commitdiff
Unescape value of generic input field
authorHypolite Petovan <hypolite@mrpetovan.com>
Fri, 14 Dec 2018 14:32:39 +0000 (09:32 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 17 Dec 2018 03:38:32 +0000 (22:38 -0500)
view/theme/frio/templates/field_input.tpl

index 5b2beb3ac22ae09adf306da35e252adfa697952e..ef55203a05b51973fd0868cbed2fa4adf5e49a1a 100644 (file)
@@ -3,7 +3,7 @@
        {{if !isset($label) || $label != false }}
        <label for="id_{{$field.0}}" id="label_{{$field.0}}">{{$field.1}}{{if $field.4}}<span class="required"> {{$field.4}}</span>{{/if}}</label>
        {{/if}}
-       <input class="form-control" name="{{$field.0}}" id="id_{{$field.0}}"{{if $field.6 eq "email"}} type="email"{{elseif $field.6 eq "url"}} type="url"{{else}} type="text"{{/if}} value="{{$field.2}}"{{if $field.4 eq "required"}} required{{/if}}{{if $field.5 eq "autofocus"}} autofocus{{elseif $field.5}} {{$field.5}}{{/if}} aria-describedby="{{$field.0}}_tip">
+       <input class="form-control" name="{{$field.0}}" id="id_{{$field.0}}"{{if $field.6 eq "email"}} type="email"{{elseif $field.6 eq "url"}} type="url"{{else}} type="text"{{/if}} value="{{$field.2 nofilter}}"{{if $field.4 eq "required"}} required{{/if}}{{if $field.5 eq "autofocus"}} autofocus{{elseif $field.5}} {{$field.5}}{{/if}} aria-describedby="{{$field.0}}_tip">
        {{if $field.3}}
        <span class="help-block" id="{{$field.0}}_tip" role="tooltip">{{$field.3 nofilter}}</span>
        {{/if}}