diff --git a/src/htmltextview.py b/src/htmltextview.py
index 922734f03..b621848ff 100644
--- a/src/htmltextview.py
+++ b/src/htmltextview.py
@@ -954,7 +954,7 @@ class HtmlTextView(Gtk.TextView):
if character == '\ufffc':
anchor = search_iter.get_child_anchor()
if anchor:
- text = anchor.get_data('plaintext')
+ text = anchor.plaintext
if text:
selection+=text
else: