[FIX] web_editor: de-traw-ify wysiwyg template
`0` should be implicitly markup-safe. Also migrate the two escs to t-out, there's no reason not to.
This commit is contained in:
@@ -125,7 +125,7 @@
|
||||
<t t-name="wysiwyg.widgets.files.submenu">
|
||||
<div class="form-inline align-items-center py-4">
|
||||
<t t-call="wysiwyg.widgets.media.search"/>
|
||||
<t t-raw="0"/>
|
||||
<t t-out="0"/>
|
||||
|
||||
<input type="file" class="d-none o_file_input" name="upload" t-att-accept="widget.options.accept" t-att-multiple="widget.options.multiImages && 'multiple'"/>
|
||||
|
||||
@@ -133,7 +133,7 @@
|
||||
<input type="text" class="form-control o_we_url_input o_we_horizontal_collapse o_we_transition_ease" name="url" t-att-placeholder="urlPlaceholder"/>
|
||||
<div class="input-group-append align-items-center">
|
||||
<button type="button" class="btn btn-secondary o_upload_media_url_button">
|
||||
<t t-esc="addText"/>
|
||||
<t t-out="addText"/>
|
||||
</button>
|
||||
<div class="ml-2">
|
||||
<span class="o_we_url_success text-success d-none fa fa-lg fa-check" title="The URL seems valid."/>
|
||||
@@ -145,7 +145,7 @@
|
||||
|
||||
<div class="btn-group">
|
||||
<button type="button" class="btn btn-primary o_upload_media_button">
|
||||
<t t-esc="uploadText"/>
|
||||
<t t-out="uploadText"/>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user