islamic-network / alquran.cloud

Web App that powers https://alquran.cloud
GNU General Public License v3.0
324 stars 44 forks source link

Arabic text is inconsistent data[0].ayahs[0].text #7

Closed xulmac closed 5 years ago

xulmac commented 5 years ago

Asalaam alaykum

The ayah "بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ" is not appearing separately when accessing http://api.alquran.cloud/surah/114/editions/quran-simple

screenshot 2018-12-11 11 38 27

but when accessing http://api.alquran.cloud/surah/1/editions/quran-simple

screenshot 2018-12-11 11 36 56

it appears separately, just wanted to be sure if is this intentional? because traditionally "بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ" is an ayah not part of the surah. This effects the translation text, since the translation text only has text without the translation of "بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ" Please correct me if I am wrong, and point me in the right direction. Thanks

Jazak Allah

Regards Salman

xulmac commented 5 years ago

found the solution here https://gist.github.com/meezaan/3433728ab67500263cc8c72f42930fbe

thanks