pedrambehroozi / telesm

An offline-first dictionary using WordNet
GNU General Public License v3.0
0 stars 0 forks source link

Examples displayed incorrectly when displaying the word from the database #11

Closed pedrambehroozi closed 4 days ago

pedrambehroozi commented 4 days ago

Search for a word:

telesm <word>

If it is not stored in the database, the display is correct. If it was already stored in the database the examples section is displayed incorrectly:

incarceration:
    ‣ the state of being imprisoned
Examples:
    ⁃ h
    ⁃ e
    ⁃  
    ⁃ w
    ⁃ a
    ⁃ s
    ⁃  
    ⁃ h
    ⁃ e
    ⁃ l
    ⁃ d
    ⁃  
    ⁃ i
    ⁃ n
    ⁃  
    ⁃ c
    ⁃ a
    ⁃ p
    ⁃ t
    ⁃ i
    ⁃ v
    ⁃ i
    ⁃ t
    ⁃ y
    ⁃  
    ⁃ u
    ⁃ n
    ⁃ t
    ⁃ i
    ⁃ l
    ⁃  
    ⁃ h
    ⁃ e
    ⁃  
    ⁃ d
    ⁃ i
    ⁃ e
    ⁃ d
    ⁃ @
    ⁃ @
    ⁃ @
    ⁃ t
    ⁃ h
    ⁃ e
    ⁃  
    ⁃ i
    ⁃ m
    ⁃ p
    ⁃ r
    ⁃ i
    ⁃ s
    ⁃ o
    ⁃ n
    ⁃ m
    ⁃ e
    ⁃ n
    ⁃ t
    ⁃  
    ⁃ o
    ⁃ f
    ⁃  
    ⁃ c
    ⁃ a
    ⁃ p
    ⁃ t
    ⁃ u
    ⁃ r
    ⁃ e
    ⁃ d
    ⁃  
    ⁃ s
    ⁃ o
    ⁃ l
    ⁃ d
    ⁃ i
    ⁃ e
    ⁃ r
    ⁃ s
    ⁃ @
    ⁃ @
    ⁃ @
    ⁃ h
    ⁃ i
    ⁃ s
    ⁃  
    ⁃ i
    ⁃ g
    ⁃ n
    ⁃ o
    ⁃ m
    ⁃ i
    ⁃ n
    ⁃ i
    ⁃ o
    ⁃ u
    ⁃ s
    ⁃  
    ⁃ i
    ⁃ n
    ⁃ c
    ⁃ a
    ⁃ r
    ⁃ c
    ⁃ e
    ⁃ r
    ⁃ a
    ⁃ t
    ⁃ i
    ⁃ o
    ⁃ n
    ⁃  
    ⁃ i
    ⁃ n
    ⁃  
    ⁃ t
    ⁃ h
    ⁃ e
    ⁃  
    ⁃ l
    ⁃ o
    ⁃ c
    ⁃ a
    ⁃ l
    ⁃  
    ⁃ j
    ⁃ a
    ⁃ i
    ⁃ l
    ⁃ @
    ⁃ @
    ⁃ @
    ⁃ h
    ⁃ e
    ⁃  
    ⁃ p
    ⁃ r
    ⁃ a
    ⁃ c
    ⁃ t
    ⁃ i
    ⁃ c
    ⁃ e
    ⁃ d
    ⁃  
    ⁃ t
    ⁃ h
    ⁃ e
    ⁃  
    ⁃ i
    ⁃ m
    ⁃ m
    ⁃ u
    ⁃ r
    ⁃ e
    ⁃ m
    ⁃ e
    ⁃ n
    ⁃ t
    ⁃  
    ⁃ o
    ⁃ f
    ⁃  
    ⁃ h
    ⁃ i
    ⁃ s
    ⁃  
    ⁃ e
    ⁃ n
    ⁃ e
    ⁃ m
    ⁃ i
    ⁃ e
    ⁃ s
    ⁃  
    ⁃ i
    ⁃ n
    ⁃  
    ⁃ t
    ⁃ h
    ⁃ e
    ⁃  
    ⁃ c
    ⁃ a
    ⁃ s
    ⁃ t
    ⁃ l
    ⁃ e
    ⁃  
    ⁃ d
    ⁃ u
    ⁃ n
    ⁃ g
    ⁃ e
    ⁃ o
        - n
pedrambehroozi commented 4 days ago

fixed in #14