<%- content_for :title, result_node.page_title.blank? ? result_node.title : result_node.page_title content_for :meta_description, result_node.page_description %>
<%= t 'results' %>
<%= decorate_divs_for_typewriting_effect @result_attachment&.body&.sub("<name>", html_escape(current_player.name)).html_safe %>
<%= @stats_attachment&.body&.sub("<score>", current_player.stats).html_safe %>
<%= link_to tag.span(t('read_more')), t('read_more_link'), class: 'button__base' %> <%= button_tag tag.span(t('share_on_story')), data: { share_title: t('share.title'), share_text: t('share.text'), share_url: url_for(controller: 'questions', action: 'shared_result', id: params[:sid], only_path: false) }, type: 'button', class: 'button__base' %>