You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for the intro part, should api not return html-less data? What if someone is using the API for a commandline application? He won't need HTML. Or what if the user expects only the text and the <p> messes with his UI?
The text was updated successfully, but these errors were encountered:
Thank you for your message. For the hadith text field, I believe we have separate HTML and text-only fields. We may have neglected to do this for chapters.
@hasankhan Can we strip HTML tags from the returned chapter title and intro field? Or have HTML and non-HTML versions? Sometimes those fields contain hyperlinks to Qur'anic ayat.
Aslm,
saw that on this query: https://api.sunnah.com/v1/collections/bukhari/books/1/chapters?limit=50&page=1 you receive among the response:
for the intro part, should api not return html-less data? What if someone is using the API for a commandline application? He won't need HTML. Or what if the user expects only the text and the
<p>
messes with his UI?The text was updated successfully, but these errors were encountered: