akshitagupta15june / akshitagupta15june/Moksh

[BUG] Incorrect Download: Clicking 'Download' Option Results in HTML File Instead of PDF

Open
#1,231 2 comments 0 reactions 1 assignee Claimed by @Akanksha-202 View on GitHub
gssoc23
Dominant language
HTML
Stars
199
Forks
386
PR merge metrics
No merged PRs in 30d

Description

## Description

**Describe the bug:**
When the user clicks on the "Download" option, instead of downloading a PDF file as intended, it downloads an HTML file.

**Expected behavior:**
Clicking on the "Download" option should trigger the download of a PDF file.

**Actual behavior:**
The "Download" option initiates the download of an HTML file.

## Reproduction Steps

**Steps to reproduce the behavior:**

1. Navigate to the Blogs Page.
2. Click on the "Download" button.
3. Observe the downloaded file.

**Expected result:**
A PDF file should be downloaded.

**Actual result:**
An HTML file is downloaded instead of the expected PDF file.

## Screenshots

![image](https://github.com/akshitagupta15june/Moksh/assets/100708686/50edeb56-faa7-4ef9-a99c-f3b530e64efe)

## Additional Information

**Device (please complete the following information):**
- OS: [Windows]
- Browser [Microsoft Edge]

**Additional context:**

Willing to work over this issue, and I am a GSSoC'23 contributor

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.