GNOME Bugzilla – Bug 498847
Character entities not rendered properly in hyperlinks
Last modified: 2008-07-29 12:57:45 UTC
Please describe the problem: Character entities, like ", are printed literally in hyperlinks, not as the characters they are supposed to represent. Steps to reproduce: Here is a minimal program that demonstrates the bug: #include <gtk/gtk.h> #include <gtkhtml/gtkhtml.h> int main (int argc, char **argv) { gtk_init(&argc, &argv); GtkWidget *mainwin = gtk_window_new(GTK_WINDOW_TOPLEVEL); GtkWidget *html = gtk_html_new(); gtk_html_load_from_string(GTK_HTML(html), "<html><body><a href=index.html> "</a></body></html>", -1); gtk_container_add(GTK_CONTAINER(mainwin), html); gtk_widget_show_all(mainwin); gtk_main(); return 0; } Actual results: A window is displayed with the literal text: " underlined in blue. Expected results: It should be a window with a space and a quotation mark underlined in blue. Does this happen every time? Yes Other information: This seems to have broken recently, because the version that shipped with Fedora 7 (3.14.3 I believe) didn't have this problem.
It works with current trunk (possibly as part of the fix to bug 485700).