Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'context-diagram-checksums' into dev-test
Browse files Browse the repository at this point in the history
micha91 committed Oct 29, 2024
2 parents 936bd99 + 90edb0b commit 5d31c54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion capella2polarion/converters/element_converter.py
Original file line number Diff line number Diff line change
@@ -461,7 +461,7 @@ def get_condition(cap: m.ModelElement, name: str) -> str:
if not (condition := getattr(cap, name)):
return ""
_, value, _ = self._sanitize_linked_text(condition)
return value
return f'<div style="text-align: center;">{value}</div>'

pre_condition = get_condition(obj, "precondition")
post_condition = get_condition(obj, "postcondition")

0 comments on commit 5d31c54

Please sign in to comment.