Activity stream unable to display comments with emoji

Where

Undefined method block? for nil:NilClass in app/helpers/gitlab_markdown_helper.rb

  def truncate_if_block(node, truncated)
    if node.element? && node.description.block? && !truncated
      node.inner_html = "#{node.inner_html}..." if node.next_sibling
      true
    else
      truncated
    end
  end

References

https://sentry.gitlap.com/gitlab/staginggitlabcom/issues/23013/
https://sentry.gitlap.com/gitlab/staginggitlabcom/issues/23017/