Skip to content

Commit

Permalink
More link consistency.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Walnes committed Nov 3, 2012
1 parent 5ffb567 commit b071cd1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/DDG/Goodie/ResistorColors.pm
Expand Up @@ -130,8 +130,8 @@ sub render {
return;
}
}
$html .= "<br/><span style='font-size:92.8%;color:#333'>Followed by a gap and tolerance color "
. "[<a href='http://resisto.rs/#$formatted_value'>More at resisto.rs</a>]</span>";
$html .= "<br/><span style='font-size:92.8%;color:#333'>Followed by a gap and tolerance color. "
. "<a href='http://resisto.rs/#$formatted_value'>More at resisto.rs</a></span>";

return $text, html => $html;
};
Expand Down
4 changes: 2 additions & 2 deletions t/ResistorColors.t
Expand Up @@ -94,8 +94,8 @@ ddg_goodie_test(
. "<span style='display:inline-block;background-color:#ffff00;"
. "color:#000;border:1px solid #c8c8c8;margin-top:-1px;padding:0px 4px;border-radius:4px;"
. "-webkit-border-radius:4px;-moz-border-radius:4px;'>yellow</span>"
. "<br/><span style='font-size:92.8%;color:#333'>Followed by a gap and tolerance color "
. "[<a href='http://resisto.rs/#1.58M'>More at resisto.rs</a>]</span>"),
. "<br/><span style='font-size:92.8%;color:#333'>Followed by a gap and tolerance color. "
. "<a href='http://resisto.rs/#1.58M'>More at resisto.rs</a></span>"),

);

Expand Down

0 comments on commit b071cd1

Please sign in to comment.