| 71 node_name); |
71 node_name); |
| 72 |
72 |
| 73 if (node->xmlns) { |
73 if (node->xmlns) { |
| 74 if ((!node->parent || |
74 if ((!node->parent || |
| 75 !node->parent->xmlns || |
75 !node->parent->xmlns || |
| 76 strcmp(node->xmlns, node->parent->xmlns)) && |
76 !purple_strequal(node->xmlns, node->parent->xmlns)) && |
| 77 strcmp(node->xmlns, "jabber:client")) |
77 !purple_strequal(node->xmlns, "jabber:client")) |
| 78 { |
78 { |
| 79 char *xmlns = g_markup_escape_text(node->xmlns, -1); |
79 char *xmlns = g_markup_escape_text(node->xmlns, -1); |
| 80 g_string_append_printf(text, |
80 g_string_append_printf(text, |
| 81 " <font color='" ATTR_NAME_COLOR "'><b>xmlns</b></font>=" |
81 " <font color='" ATTR_NAME_COLOR "'><b>xmlns</b></font>=" |
| 82 "'<font color='" XMLNS_COLOR "'><b>%s</b></font>'", |
82 "'<font color='" XMLNS_COLOR "'><b>%s</b></font>'", |