Ghost/ghost/core/test/unit
Daniel Lockyer 9a40440e82 Fixed handling SVG files with missing tag
fix https://linear.app/tryghost/issue/SLO-151/[ghost]-cannot-read-properties-of-null-reading-attributes-an

- in the event the file doesn't contain a tag, the code currently crashes
  because it tries to read `attributes from `undefined`
- we can fix that by checking the first element exists before reading
  from it
- also includes a breaking test
2024-06-18 14:41:11 +02:00
..
api Added a column disallow list in the content API posts serializer (#20207) 2024-05-20 08:25:20 -05:00
frontend Added experimental headers to allow caching members content (#20200) 2024-05-23 19:06:45 -07:00
server Fixed handling SVG files with missing tag 2024-06-18 14:41:11 +02:00
shared