##// END OF EJS Templates
Put ellipsizer before the last line break, not after it on a new line
neko259 -
r1001:fb8126e7 default
parent child Browse files
Show More
@@ -106,7 +106,7 b' def truncate_lines(text, length):'
106 106 # It's an actual non-HTML word or char
107 107 current_len += 1
108 108 if current_len == length:
109 end_text_pos = pos
109 end_text_pos = m.start(0)
110 110 continue
111 111 # Check for tag
112 112 tag = REGEX_TAG.match(m.group(0))
General Comments 0
You need to be logged in to leave comments. Login now