pymc-devs / pymcon_web_series_website

http://www.pymcon.com
5 stars 11 forks source link

Fix html in FAQ's #63

Closed SangamSwadiK closed 1 year ago

SangamSwadiK commented 1 year ago

Hi !! Found this when going through the FAQ's !! The em tag is visible. image

SangamSwadiK commented 1 year ago

If possible, I would like to submit a PR 🙂 Thanks !

purna135 commented 1 year ago

Hello, @SangamSwadiK. Thank you for reporting this issue; feel free to open a PR.

We simply need to add the markdownify function to these two lines:

https://github.com/pymc-devs/pymcon_web_series_website/blob/5922c2ea63f3378e3f37c0d109a1da0adbb8eb2f/layouts/_default/faq.html#L37-L38

just replace the above 2 lines with:

<h2> {{ $faq.question | markdownify | emojify }} </h2>
<p> {{ $faq.answer | markdownify | emojify }} </p>