Spark should support the new Message Styling XEP, that's currently in the works here: https://xmpp.org/extensions/inbox/styling.html