A percent sign broke the terms API
The terms of service and privacy policy serializers ran the text through format() to fill in %{domain}. Any other % sign, such as in "100%", was read as a format specifier, and /api/v1/instance/terms_of_service and privacy_policy returned a 500 error.
Only %{domain} is replaced
The serializers now replace %{domain} with the server's domain using gsub and leave the rest of the text alone. New RSpec specs check a text with "100%" and the filled-in domain for both documents.