Skip to content

Commit 68263c9

Browse files
committed
Enhance temporal processing: add validation for selex tags in markdown content
1 parent 6b9883d commit 68263c9

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

exporters/git/generate_commits.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,12 @@ def generate_temporal_commits(
324324
print(str(e))
325325
return
326326

327+
# Check if selex tags are present (required for temporal processing)
328+
if '<article' not in content:
329+
print(f"Varning: Inga selex-taggar hittades i {markdown_file}")
330+
print("Temporal processing kräver att selex-taggar är kvar i dokumentet")
331+
return
332+
327333
# Identify upcoming changes
328334
changes = identify_upcoming_changes(content)
329335

0 commit comments

Comments
 (0)