type= broken in Chrome

Created on 8 May 2024, about 2 months ago
Updated 13 May 2024, about 1 month ago

When I installed this and configured it, I noticed Chrome throwing a bunch of warnings. There seems to be a line break after the type but before the ending quote. Some browsers don't care.

I added a trim to where it builds the type and it fixes it.

        $font['type'] = 'font/' . trim($font_type);

Patch attached. I have not gotten the hang of the Drupal MR yet.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇺🇸United States duckydan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024