I am struggling to get the text to wrap inside the boxed equation. Any help anyone could give me would be greatly appreciated!
\usepackage[utf8]{inputenc}
\usepackage{setspace}
\usepackage{mathrsfs}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{multirow}
\usepackage{eurosym}
\usepackage{amstext}
\usepackage{hyperref}
\usepackage{grffile} %Stops the file name of figures appearing
\usepackage{color}
\usepackage{mathabx}
\usepackage{float}
\usepackage{pdfpages}
\DeclareRobustCommand{\officialeuro}{%
\ifmmode\expandafter\text\fi
{\fontencoding{U}\fontfamily{eurosym}\selectfont e}}
\usepackage{pifont}
\usepackage{multirow}
\usepackage[dvipsnames]{xcolor}
\begin{document}
\begin{equation*}
\begin{aligned}
\boxed{H_0 : There\ is\ no\ association\ between\ the\ number\ of\ seasons\ a\ club\ has\ previously\ played\ in\ the\ top \ division\ and\ survival}
\end{aligned}
\end{equation*}
\begin{equation*}
\begin{aligned}
\boxed{H_1 : There\ is\ an\ association\ between\ the\ number\ of\ seasons\ a\ club\ has\ previously\ played\ in\ the\ top\ division\ and\ survival}
\end{aligned}
\end{equation*}
\end{document}
There\ is\ no\ association\ betwee....
Ctrl+K
), this time Torbjørn T did this for you!