Skip to content

Commit

Permalink
fix #267
Browse files Browse the repository at this point in the history
Backport of 55d1fb3
  • Loading branch information
MariaRosariaFraraccio authored and mnamici committed Dec 5, 2023
1 parent 42199c1 commit 08bc45d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eddy/core/exporters/owl2.py
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ def getOWLApiAnnotation(self, annotation):
if annotation.isIRIValued():
value = self.IRI.create(str(annotation.value))
else:
lexicalForm = annotation.value
lexicalForm = annotation.value.replace('\n', '')
if annotation.language:
value = self.df.getOWLLiteral(lexicalForm, annotation.language)
else:
Expand Down

0 comments on commit 08bc45d

Please sign in to comment.