Skip to content

Commit a29aa39

Browse files
author
Danny Milosavljevic
committed
phase2: remove_cosmetic_line_breaks: Make it remove some more cosmetic line breaks.
1 parent bc8a432 commit a29aa39

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

phase2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ def replace_ul(header):
113113
header = replace_ul(header)
114114
# Remove newline inside parenthesized strings: "(fo\no)" => "(foo)"
115115
header, _ = re.subn(r"[(][^)]*[)]", lambda match: match.group(0).replace("\n", ""), header, flags=re.DOTALL)
116+
header = header.replace(";\nDataPortCheck=", "; DataPortCheck=")
116117
return header
117118

118119
current_table = None

0 commit comments

Comments
 (0)