The module stores a list of the favicons as an array in a variable, however it also stores a line break in each string. It shouldn't store the line endings and instead should add them at runtime.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

Status: Active » Needs review
FileSize
2.06 KB

This ought to do it - it removes the EOL character from each tag, and removes the empty item at the end of the array.

DamienMcKenna’s picture

FileSize
2.06 KB

Fixed a typo.

wiifm’s picture

Hey Damien, this all looks sane, will look at testing this and getting this committed sometime today. Thanks so much for the patch!

sjpagan’s picture

Title: Handle line endings properly » Don't see the favicons

Hi i'm tired install your module, but after installazuine don't work fine.
In my case i dont see the correct href under link attribute, and i see in the report bug the next result on incons not found:

Responsive favicons not found

In my case the web server installed on mac and the root of sites folder is : http://localhost and the root of drupal site is : http://localhost/www.drupal.org.

What could be the problem ?

DamienMcKenna’s picture

Title: Don't see the favicons » Handle line endings properly

@sgpagan: Please open a new issue rather than taking over an existing one.

wiifm’s picture

Status: Needs review » Fixed

Thanks Damien, appreciate the patch. This is now committed (with authorship).

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.