Fix typos in HTML target attributes

In some places, we were using `blank` instead of `_blank`. Most browsers
treat `blank` like `_blank`, though, so most people didn't experience
any difference.

In another place, we were incorrectly passing the `target` option inside
an `options:` hash, resulting in invalid HTML.
This commit is contained in:
Javi Martín
2023-10-05 20:46:01 +02:00
parent cdc5e05d48
commit 0b0cbcfe5a
6 changed files with 11 additions and 11 deletions

View File

@@ -34,7 +34,7 @@
<%= actions.action(:show,
text: t("admin.site_customization.pages.index.see_page"),
path: page.url,
options: { target: "_blank" }) %>
target: "_blank") %>
<% end %>
<% end %>
</td>