Skip to content

Commit c10a8a8

Browse files
committed
another extraneous re.sub
1 parent ee7bd6a commit c10a8a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

textile/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ def block(self, text):
612612
line = self.graf(line)
613613

614614
line = self.doPBr(line)
615-
line = re.sub(r'<br>', '<br />', line)
615+
line = line.replace('<br>', '<br />')
616616

617617
if line.strip():
618618
out.append(line)

0 commit comments

Comments
 (0)