Why is "opens in a new window/tab" appearing on a lesson page?

Judy.C.9465
Judy.C.9465 Posts: 3 🔍
edited April 8 in K-12

I have a course that uses quick links to PDF files in the Files area of the course. In 10 instances, the file links correctly appearing like this:

Did you print the Unit 2 Notes Guide Packet.pdf yet? Use your notes while you go through the lesson.

In four other lessons, this is what is appearing on the page:

Did you print the Unit 3 Notes Guide Packet.pdfopens in a new window/tab yet? Use your notes while you go through the lesson.

When I look at the HTML Source Code on both pages, they are almost identical except for the file they are linking to.

Working Correctly: <p><span style="font-family: Lato,sans-serif; font-size: 19px;">Use your&nbsp;<a href="/content/enforced/6700-sbx-stf-ailiteracy/web_resources/../Unit%202%20Notes%20Guide%20Packet.pdf?isCourseFile=true" target="_blank" rel="noopener">Unit 2 Notes Guide Packet.pdf</a> while you go through the lesson. Fill in the blanks below as you read.</span></p>

Showing the extra wording: <p><span style="font-family: Lato,sans-serif; font-size: 19px;">Did you print the Unit 3 Notes Guide yet? Use your <a href="/content/enforced/6700-sbx-stf-ailiteracy/Unit%203%20Notes%20Guide%20Packet.pdf?isCourseFile=true" target="_blank" rel="noopener">Unit 3 Notes Guide Packet</a> while you go through the lesson. Fill in the blanks below as you read and watch.</span></p>

Tagged:

Answers

  • Judy.C.9465
    Judy.C.9465 Posts: 3 🔍

    ChatGPT suggested that I modify the URL to the following and it worked! I still don't know why it only happened on a few pages in the course, but I'm glad that it is fixed now.

    <a href="/content/enforced/6700-sbx-stf-ailiteracy/Unit%203%20Notes%20Guide%20Packet.pdf?isCourseFile=true"
    onclick="window.open(this.href,'_blank','noopener'); return false;">
    Unit 3 Notes Guide Packet.pdf
    </a>

  • Tejas.M.9338
    Tejas.M.9338 Posts: 25 🤝🏼 image
    edited April 7

    Hi @Judy.C.9465,

    Thank you for reaching out to the Brightspace Community. I'm glad that your issue has been fixed now. Feel free to reach out to us in case of any new issues/queries.

    Thanks,

    Tejas Masavkar