1
0
Fork 0

Compare commits

..

No commits in common. "0403549897240121aae2d593d77d6d3a9735b530" and "aded5b32cd72b2ef4b3e30fd8fbd9136867a8873" have entirely different histories.

2 changed files with 2 additions and 4 deletions

View file

@ -11,7 +11,7 @@ UCD="$HOME/.local/share/emoji/ucd.all.flat.zip"
GREP="rg"
usage() {
echo "Usage: $0 [OPTION]... FILTER"
echo "usage: $0 [-n] [-l LIMIT] FILTER"
echo "Display emojis based on the name filter provided."
echo " -h show usage"
echo " -n hide emoji name"

View file

@ -192,9 +192,7 @@ def parse_common_cells(cells, meaning, is_new_meaning):
def parse_example_cells(cells, meaning):
"""Parse cells of an example line (pretty much just the last one)."""
last_cell = cells[-1]
if (span := last_cell.span):
meaning.ex.append(span.text)
meaning.ex.append(cells[-1].span.text)
def print_meaning(meaning):