Skip to content

Commit

Permalink
Assume the virtual nodes have links. Don't wrap them.
Browse files Browse the repository at this point in the history
  • Loading branch information
EliezerIsrael committed Dec 2, 2021
1 parent fa08a62 commit 0dd5559
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sefaria/model/text.py
Original file line number Diff line number Diff line change
Expand Up @@ -1244,6 +1244,8 @@ def _sanitize(self):
self.sanitize_text(getattr(self, self.text_attr, None))
)

def has_manually_wrapped_refs(self):
return True

class Version(AbstractTextRecord, abst.AbstractMongoRecord, AbstractSchemaContent):
"""
Expand Down

0 comments on commit 0dd5559

Please sign in to comment.