[IMP] web: remote t-raw from HiddenInputFile
t-call bodies (`0`) should always be markup-safe.
This commit is contained in:
@@ -1475,7 +1475,7 @@
|
||||
<input type="hidden" name="callback" t-att-value="fileupload_id"/>
|
||||
<input type="file" class="o_input_file" name="ufile"
|
||||
t-att="{'multiple': multi_upload ? 'multiple' : null, 'accept': widget.accepted_file_extensions || '*'}"/>
|
||||
<t t-raw="0"/>
|
||||
<t t-out="0"/>
|
||||
</form>
|
||||
<iframe t-att-id="fileupload_id" t-att-name="fileupload_id" style="display: none"/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user