Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix double quoted img alt text #1170

Merged
merged 1 commit into from
Sep 28, 2024
Merged

Conversation

toofishes
Copy link
Contributor

This attribute looks like it was erroneously double quoted, causing the HTML element as rendered by most browsers to not have alt text. Adjust the quoting to match the other attributes.

Category (place an x in each of the [ ])

  • slack_bolt.App and/or its core components
  • slack_bolt.async_app.AsyncApp and/or its core components
  • Adapters in slack_bolt.adapter
  • Document pages under /docs
  • Others

Requirements (place an x in each [ ])

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

  • I've read and understood the Contributing Guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've run ./scripts/install_all_and_run_tests.sh after making the changes.

Copy link

Thanks for the contribution! Before we can merge this, we need @toofishes to sign the Salesforce Inc. Contributor License Agreement.

This attribute looks like it was erroneously double quoted, causing the HTML
element as rendered by most browsers to not have alt text. Adjust the quoting
to match the other attributes.
@zimeg zimeg added the bug Something isn't working label Sep 28, 2024
@zimeg zimeg added this to the 1.21.0 milestone Sep 28, 2024
Copy link

codecov bot commented Sep 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.02%. Comparing base (35842a5) to head (20e16a2).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1170   +/-   ##
=======================================
  Coverage   92.02%   92.02%           
=======================================
  Files         195      195           
  Lines        6631     6631           
=======================================
  Hits         6102     6102           
  Misses        529      529           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@zimeg zimeg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @toofishes! 👋 Thanks a ton for catching this!

I'm not sure what the original HTML might've been doing, but this contribution is so appreciated in all cases. Let's merge it for the next release! 🚀 ✨

@@ -221,6 +221,6 @@ async def endpoint(req: Request):

# NOTE: Although sanic-testing 0.6 does not have this value,
# Sanic apps properly generate the content-length header
# assert response.headers.get("content-length") == "609"
# assert response.headers.get("content-length") == "607"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cla:signed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants