Bug 1302192: require headings to begin a line; r=hammad13060+583205

MozReview-Commit-ID: 4me4VI8Si0h

--HG--
extra : rebase_source : 0bcb53df1973e47d8915fd38e943633cc9706e4f
This commit is contained in:
Dustin J. Mitchell 2016-12-23 22:04:45 +00:00
Родитель cb6dd785e8
Коммит 79d315e9c8
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -24,7 +24,7 @@ def verify_docs(filename, identifiers, appearing_as):
]
elif appearing_as == "heading":
expression_list = [
identifier + "\n(?:(?:(?:-+\n)+)|(?:(?:.+\n)+))"
'\n' + identifier + "\n(?:(?:(?:-+\n)+)|(?:(?:.+\n)+))"
for identifier in identifiers
if not identifier.startswith("_")
]