That seems reasonable, but I unfortunately have neither the time nor experience to really make that commit on my own.
Hopefully somebody can tackle it once they get the time - definitely not a high-priority fix, but would be nice for the professionalism of Discourse sites in general.