WorldFlags::Helper::View::Util #10

Open
igorb opened this Issue May 15, 2013 · 2 comments

Comments

Projects
None yet
2 participants

igorb commented May 15, 2013

= flag_list 32 do
= flags :us, :ua, content: true, class: 'f32'

flag was displayed with text WorldFlags::Helper::View::Util

Hi @igorb ,

here is simple workaround:

= flag_list 32 do
= flags :us, :ua, content: " ", class: 'f32'

Here is the reason:
https://github.com/kristianmandrup/world-flags/blob/master/lib/world_flags/helper/view/util.rb#L8

Regards, Karlo.

Argh!
In haml source you must enter html code for space, not actual space.

Github is web app, so it represents html code for space as visual space.

@jspanjers jspanjers pushed a commit to world-flags/world-flags that referenced this issue Apr 24, 2015

@hiberis hiberis Fix bug in Helper::View#flag for content: true 6045c44

@jspanjers jspanjers added a commit to world-flags/world-flags that referenced this issue Apr 24, 2015

@jspanjers jspanjers Fix bug in WorldFlags::Helper::View#flag for content: true e922e7f

@jspanjers jspanjers added a commit to world-flags/world-flags that referenced this issue Apr 24, 2015

@jspanjers jspanjers Fix bug in WorldFlags::Helper::View#flag for content: true 75ed675

@jspanjers jspanjers added a commit to world-flags/world-flags that referenced this issue Apr 26, 2015

@jspanjers jspanjers Fix bug in WorldFlags::Helper::View#flag for content: true 67fbb32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment