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

[Bug]: Unnecessary Text and Symbols in Code Output for HTML and JavaScript in Gemini #600

Closed
3 of 4 tasks
MeetDOD opened this issue Sep 28, 2024 · 2 comments · Fixed by #601
Closed
3 of 4 tasks
Assignees
Labels
bug Something isn't working

Comments

@MeetDOD
Copy link
Contributor

MeetDOD commented Sep 28, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

When attempting to customize the code or style in the "style share" section of a particular component within Gemini, the tool by default adds unnecessary text and symbols around the code blocks. This behavior affects both HTML and JavaScript code, making it inconvenient for users who need clean code for customization purposes.

The code is wrapped with unnecessary symbols, such as:

  1. For HTML code:
    html at the start and at the end.

  2. For JavaScript code:
    javascript at the start and at the end.

Expected behavior

  1. Because of the features is exposed like what kind of technology we are using in the style share
  2. Also it looks unprofessional and lead bad impression to the users using this AI feature.
  3. Everyone can see that the API used is the Gemini if they do some research and all.

Add ScreenShots

  1. For Html Code

image

image

  1. For Javascript Code

image

image

  1. Full Code

image

image

On which device are you experiencing this bug?

Android, iPhone, Linux, Chrome, Windows

Record

  • I have read the Contributing Guidelines
  • I'm a GSSOC'24 contributor
  • I have starred the repository
@MeetDOD MeetDOD added the bug Something isn't working label Sep 28, 2024
Copy link

Thank you for creating this issue! 🎉 We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊

You can also check our CONTRIBUTING.md for guidelines on contributing to this project.

Copy link

github-actions bot commented Oct 7, 2024

Hello @MeetDOD! Your issue #600 has been closed. Thank you for your contribution!

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