Single quotes lead to missing pieces of MOTD

The HTML escaping logic in components/motd.php had at least one bug that leads to missing text if single quotes/apostrophes are present in a news post.

Compare this post to the following:

  Community update
    Greetings to anyone that found this.

    It    feel free to join the discord the exec team is usually online and it    where we do most of our comunication at this point in time.

    Other than that we are currently working to make communication more clear
    about what we are doing Caleb(kalube) has recently created a new blog site,
    over at blogs.sucs.org[2].
    We hope to talk to you via the discord in this uncertain time.
    ----
    [1]: https://discord.gg/NxRPqEY
    [2]: http://blogs.sucs.org
                                                                     whizzywig