Show More
@@ -106,7 +106,7 b' def truncate_lines(text, length):' | |||||
106 | # It's an actual non-HTML word or char |
|
106 | # It's an actual non-HTML word or char | |
107 | current_len += 1 |
|
107 | current_len += 1 | |
108 | if current_len == length: |
|
108 | if current_len == length: | |
109 |
end_text_pos = |
|
109 | end_text_pos = m.start(0) | |
110 | continue |
|
110 | continue | |
111 | # Check for tag |
|
111 | # Check for tag | |
112 | tag = REGEX_TAG.match(m.group(0)) |
|
112 | tag = REGEX_TAG.match(m.group(0)) |
General Comments 0
You need to be logged in to leave comments.
Login now