Skip to content

Commit

Permalink
cldf bug
Browse files Browse the repository at this point in the history
  • Loading branch information
fmatter committed Oct 14, 2023
1 parent dfaa09e commit 2e6d81e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed
* bug in CLDF creation

## [0.1.1] - 2023-10-13

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion src/pylingdocs/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def parse_heading(string):
attr_list = re.search("({.*?})", title)
if attr_list:
attr_list = attr_list.group()
tag = re.findall(r"#(.*?)\s+}", attr_list)[0]
tag = re.findall(r"{\s?\#(.*?)\s?}", attr_list)[0]
title = title.replace(attr_list, "")
else:
tag = slugify(title, allow_unicode=True)
Expand Down

0 comments on commit 2e6d81e

Please sign in to comment.