Skip to content

Additional fields “break” the user card via picture HTML tag #3790

Answered by qwerty541
Falcion asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @Falcion. You have to URL encode the query string values when using <picture> tag. Here is an example:

<picture>
  <source
    srcset="https://github-readme-stats.vercel.app/api?username=Falcion&show=reviews%2Cdiscussions_started%2Cdiscussions_answered%2Cprs_merged%2Cprs_merged_percentage&show_icons=true&theme=dark&custom_title=Recent%20activity%20(Falcion):&text_bold=true&card_width=500&hide_border=true"
    media="(prefers-color-scheme: dark)"
  />
  <source
    srcset="https://github-readme-stats.vercel.app/api?username=Falcion&show=reviews%2Cdiscussions_started%2Cdiscussions_answered%2Cprs_merged%2Cprs_merged_percentage&show_icons=true&custom_title=Recent%20activity%20(Falcion):&t…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Falcion
Comment options

@qwerty541
Comment options

Answer selected by Falcion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3787 on June 04, 2024 16:57.