Skip to content

Commit

Permalink
[#167][Crum] Add a "nag-hammadi" Class for Nag Hammadi References.
Browse files Browse the repository at this point in the history
  • Loading branch information
pishoyg committed Aug 11, 2024
1 parent 474e443 commit f7b0a2c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dictionary/marcion.sourceforge.net/word.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ def string(
r = ""
if include_references:
r = ", ".join("{" + r + "}" for r in self._references)
if classify:
r = f'<span class="nag-hammadi">{r}</span>'
word = " ".join(filter(None, [d, s, t, r]))
if classify:
word = f'<span class="{" ".join(["word"] + self._dialects)}">{word}</span>'
Expand Down

0 comments on commit f7b0a2c

Please sign in to comment.