TheNetsky / extensions-generic-0.8

Common CMS Extensions for Paperback 0.8
https://thenetsky.github.io/extensions-generic-0.8/
18 stars 25 forks source link

Add additional conditional check for getting image source urls #64

Closed Ivanmatthew closed 8 months ago

Ivanmatthew commented 8 months ago

Adds empty string checking beside undefined object checking for image element attributes. Coincidentally resolves #48 Rather than opting to alter the actual conditional flow, I instead added a second conditional statement to be passed, as it creates new behavior.