Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Usemin:html adds image file before a 'a' anchor #627

Closed
nMustaki opened this Issue · 2 comments

3 participants

@nMustaki

Hello,
I have this html :

<div id="logo">
<a href="/">
<img style="width:50px;margin-top:-7px;" src="/static/_images/logo_matrice2.png" alt="Logo" />
</a>
</div>

When I do 'yeoman build', it is replaced by usemin :

<div id="logo">
./jpgtmp.jpg<a href="/">
<img style="width:50px;margin-top:-7px;" src="/static/_images/logo_matrice2.png" alt="Logo" />
</a>
</div>

I use yeoman 0.9.4 on Archlinux64. Here is the output :
Running "usemin:html" (usemin) task

usemin:html - error-generic.html
OK
was <a href="/"
now ./jpgtmp.jpg<a href="/"

It looks like this bug appears only when href contains a single letter. Or maybe there is a replacement system I am not aware of, because if I replace the slash by a 's', it is replaced by "./templates".

Thanks,
Nathan

@sleeper sleeper was assigned
@sleeper
Owner

Looking at it.

@sleeper sleeper referenced this issue from a commit in sleeper/yeoman
@sleeper sleeper Fixing #627 72c1325
@sleeper
Owner

Should be fixed when the above commit will be merged ;)

@szinya szinya referenced this issue from a commit in menthainternet/yeoman
@sleeper sleeper Fixing #627 295f0c9
@sleeper sleeper referenced this issue from a commit
@sleeper sleeper Fixing #627 d297607
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.