summaryrefslogtreecommitdiff
path: root/src/bridge
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-04-17 20:37:46 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-04-17 20:37:46 +0200
commitbd7936bdfe799d6b665c4b2bd30a5210592d9ae4 (patch)
treefa6238c8249e2117fab83a13a63ef64c8a1db676 /src/bridge
parent9683f0a0b2789c97a2864e07c55f7ce1ab8c0e89 (diff)
downloadbiboumi-bd7936bdfe799d6b665c4b2bd30a5210592d9ae4.tar.gz
biboumi-bd7936bdfe799d6b665c4b2bd30a5210592d9ae4.tar.bz2
biboumi-bd7936bdfe799d6b665c4b2bd30a5210592d9ae4.tar.xz
biboumi-bd7936bdfe799d6b665c4b2bd30a5210592d9ae4.zip
No more missing text when converting IRC colors to xhtml-im
fix #2496
Diffstat (limited to 'src/bridge')
-rw-r--r--src/bridge/colors.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bridge/colors.cpp b/src/bridge/colors.cpp
index 024121b..e42c5a3 100644
--- a/src/bridge/colors.cpp
+++ b/src/bridge/colors.cpp
@@ -71,7 +71,7 @@ Xmpp::body irc_format_to_xhtmlim(const std::string& s)
const std::string txt = s.substr(pos_start, pos_end-pos_start);
cleaned += txt;
if (current_node->has_children())
- current_node->get_last_child()->set_tail(txt);
+ current_node->get_last_child()->add_to_tail(txt);
else
current_node->set_inner(txt);