diff --git a/view/Html_file.py b/view/Html_file.py
index 0e5667e..82ed58c 100644
--- a/view/Html_file.py
+++ b/view/Html_file.py
@@ -4,7 +4,7 @@ from Tags import Html, Head, Title, Style, Meta, Body, H1, Div, Span, Hr, A
class Html_file( Html ):
- NOTE_LINK_PATTERN = re.compile( u'', re.IGNORECASE )
+ NOTE_LINK_PATTERN = re.compile( u']*>', re.IGNORECASE )
def __init__( self, notebook_name, notes ):
relinked_notes = {} # map from note id to relinked note contents