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

[HackerNews] Strip HTML tags and add cache #27

Closed
wants to merge 2 commits into from

Conversation

tianjing-li
Copy link
Collaborator

@tianjing-li tianjing-li commented Jan 2, 2024

What's being changed:

Resolves #24

How did you test this change (include any code snippets, API requests, screenshots, or gifs):

  • Tested by deploying connector service, registering and testing on Coral
    image

@tianjing-li tianjing-li requested a review from a team as a code owner January 2, 2024 16:48
Comment on lines 45 to 46
# Fix HTML tags that can break request response for Coral
stripped_result["text"] = stripped_result["text"].replace('"', "'")
Copy link
Collaborator

Choose a reason for hiding this comment

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

@tianjing-li Do you have examples of how this is changes the connector's JSON responses? Assuming the response was valid JSON maybe that points to a bug in the UI and not in this specific connector

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

hackernews connector doesn't always scape quotes adequately
2 participants