I don't think it has to do with Moodle version 3.8 settings.
Check the HTML code of the question. You should find this:
<p> Answer = {_0}° </p>
If that still doesn't work, try this:
<div> Answer = <div style="display:inline-block;">{_0}</div> ° </div>