mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 02:48:00 +00:00
Fix whitespace
(imported from commit 27ad5cda6ce439f81fb0ab231ef43303f2d70736)
This commit is contained in:
@@ -36,7 +36,7 @@ def chunkize(text, in_tag):
|
|||||||
if start != idx:
|
if start != idx:
|
||||||
chunks.append(('tag' if in_tag else 'text', text[start:idx]))
|
chunks.append(('tag' if in_tag else 'text', text[start:idx]))
|
||||||
return chunks, in_tag
|
return chunks, in_tag
|
||||||
|
|
||||||
def highlight_chunks(chunks, highlight_func):
|
def highlight_chunks(chunks, highlight_func):
|
||||||
retval = ''
|
retval = ''
|
||||||
for type, text in chunks:
|
for type, text in chunks:
|
||||||
|
|||||||
Reference in New Issue
Block a user