Perplexity html structure changed for sources, updated to match (div -> span).
Added a space between source numbers and after content.
Removed dashes from the title in favor of spaces. (if you want to revert this, change line 298 to .replace(/[^a-z0-9]+/g, "-")
)
Ran a code formatter and fixed lints (sorry if this makes it harder to see the diffs).
Let me know if you have any issues!