Mon Feb-09-2004 23:23
Tiny fix - "Blog it" to "Blog it"
import.module,v 1.129 2003/10/24 09:25:46 dries Exp
I'm using the "Interlaced" theme. Problem, on the news feeds page, "blog it" is split inside the cell, like this.
blog
it
Ugly. I want to put a non-breaking space in there
Here are the problem lines
grep -n '"blog it"' import.module
131: $output .= "<div class=\"icon\">". l("<img src=\"". theme("image", "blog.gif") ."\" alt=\"". t("blog it") ."\" title=\"". t("blog it") ."\" />", "node/add/blog", array("title" => t("Comment on this news item in your personal blog."), "class" => "blog-it"), "iid=$item->iid") ."</div>";
643: $links[] = l(t("blog it"), "node/add/blog", array("title" => t("Comment on this news item in your personal blog.")), "iid=$item->iid");
679: $links[] = l(t("blog it"), "node/add/blog", array("title" => t("Comment on this news item in your personal blog.")), "iid=$item->iid");
716: $links[] = l(t("blog it"), "node/add/blog", array("title" => t("Comment on this news item in your personal blog.")), "iid=$item->iid");
A dash of perl
perl -p -i -e 's/"blog it"/"blog it"/g' import.module
Done!
Comments
Comment #1
killes@www.drop.org commentedhtml in texts should be avoided. fix the theme with proper css.