mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-25 04:05:57 +03:00
[GH-ISSUE #908] [BUG] Results renders HTML elements #564
Labels
No labels
Fixed (Pending PR Merge)
Stale
bug
enhancement
enhancement
good first issue
help wanted
keep-open
needs more info
pull-request
question
theme
unfortunate
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whoogle-search#564
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @prashantrahul141 on GitHub (Dec 15, 2022).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/908
when searching for any type of html element ( like input ) if the results contains something like
<input/>it gets rendered on the results page.Steps to reproduce the behavior:
example: https://www.whoogle.click/search?q=image+type+input+html
Version of Whoogle Search
Desktop:
Example:

On Google:
On Whoogle:

@ahmad-alkadri commented on GitHub (Dec 22, 2022):
Reproduced the bug from Whoogle on Docker by typing in
<Input>on the search bar:By inspecting the element, I can see that the problem is that the escape check/functionality is not applied there. I'm not sure without delving into the details, but I think, to fix this, simply adding an escape feature for the text passed into the HTML template would be sufficient.
Personally, it's a bit surprising to see this bug though; I've been using Whoogle for a while and never noticed this.