BuddhaNexus / buddhanexus

Backend for the Buddhanexus project
8 stars 2 forks source link

Segments have no space between them in text view mode #237

Open ayya-vimala opened 8 months ago

ayya-vimala commented 8 months ago

Not sure if this is best solved in frontend or backend. Segments in Tibetan, Sanskrit and Pali in tex view mode have no space between them. As the frontend seems to be getting parts of segments it is probably best solved in the backend.

ayya-vimala commented 7 months ago

Checked the backend ... it gives back the spaces between words but if those spaces are at the end of the segment-part, they are deleted at the frontend. For instance

                "text": "Dhammaṁ ",
...
                "text": "saraṇa",
...
                "text": "ṁ gacchāmi,",

Is returned on the frontend as Dhammaṁsaraṇaṁ gacchāmi, So probably a frontend issue.