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

There are extra characters in the html source code #1066

Closed
shuashuai opened this issue Aug 5, 2024 · 4 comments
Closed

There are extra characters in the html source code #1066

shuashuai opened this issue Aug 5, 2024 · 4 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers
Milestone

Comments

@shuashuai
Copy link
Member

Describe the bug

Right-clicking to inspect the source code reveals that there are extra characters in the indistinguishable tags

image

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://meta.answer.dev
  2. Right-clicking to inspect the source code.
  3. The URLs of og:image and twitter:image in meta have extra characters

Expected behavior

Remove extraneous erroneous characters }.

Platform

  • Device: [e.g. Desktop, Mobile]
  • OS: [e.g. macOS]
  • Browser and version: [e.g. Chrome, Safari]
  • Version: [e.g. v1.3.6]
@shuashuai shuashuai added the bug Something isn't working label Aug 5, 2024
@LinkinStars LinkinStars added the good first issue Good for newcomers label Aug 6, 2024
@shuashuai shuashuai added this to the v1.4.0 milestone Aug 6, 2024
@sosyz
Copy link
Contributor

sosyz commented Aug 14, 2024

Hi~ I want to know how is the frontend of meta.answer.dev built and deployed? I tried to start using pnpm and compile static files, but the content is different.
image

@shuashuai
Copy link
Member Author

Hi @sosyz

Answer To meet the needs of SEO, in addition to the construction method you used above, there is also a set of back-end template files. This problem is because the content in the template file is wrong, so the method you used above cannot be seen. These can be seen under the ui/template/header.html file

@sosyz
Copy link
Contributor

sosyz commented Aug 15, 2024

Hi @sosyz

Answer To meet the needs of SEO, in addition to the construction method you used above, there is also a set of back-end template files. This problem is because the content in the template file is wrong, so the method you used above cannot be seen. These can be seen under the ui/template/header.html file

Thank you for your reply. I have modified the file and will submit a pull request later.

@yardenshoham
Copy link

Fixed in #1073

@fenbox fenbox closed this as completed Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
Status: Done
Development

No branches or pull requests

5 participants