| from __future__ import annotations | |
| from urllib.parse import quote_plus | |
| def scholar_link(query: str) -> str: | |
| q = (query or "").strip() | |
| if not q: | |
| return "" | |
| # Mirror JS behavior: add a genotoxicity hint. | |
| return f"https://scholar.google.com/scholar?q={quote_plus(q + ' genotoxicity')}" | |